Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: Origin of 'md5sum' and 'sh' logsby morgon (Priest) |
on Feb 26, 2019 at 01:22 UTC ( [id://1230542]=note: print w/replies, xml ) | Need Help?? |
In general a "my" variable cannot be declared within a conditional statement.Of course it can. Why should this be a problem? You can declare a "my" variable in any lexical scope - the branches of an if-statement are just one example:
In Section
Seekers of Perl Wisdom
|
|