Perl quicky..

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Perl quicky..

Post 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.
Post Reply