![]() |
|
Just another Perl shrine | |
PerlMonks |
Re^2: Origin of 'md5sum' and 'sh' logsby morgon (Priest) |
on Feb 26, 2019 at 01:22 UTC ( #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
|
|