Do you know where your variables are? | |
PerlMonks |
Re^2: misbehaving programby BazB (Priest) |
on Apr 22, 2005 at 23:48 UTC ( [id://450613]=note: print w/replies, xml ) | Need Help?? |
My brain doesn't cope well with
Although the above is perfectly valid - as system returns zero for success, unlike every other perl function I can think of - I'd much rather use: ...which makes it much more obvious (at least to me) what's going on. Although I note that the examples in the perldoc use the latter approach, this is mostly a personal style point/grumble: feel free to ignore it. If the information in this post is inaccurate, or just plain wrong, don't just downvote - please post explaining what's wrong.
In Section
Seekers of Perl Wisdom
|
|