Page 1 of 1

Perl quicky..

Posted: Fri Jan 19, 2007 6:28 am
by Jenk
Could anyone please explain what the assignment operator(s) are for in this line, please? :)

Code: Select all

my $size=-s $source_file;
Much obliged :)

EDIT: Found out - it's assing the size of file $source_file (in bytes) to $size.