Just another Perl shrine | |
PerlMonks |
Re^2: Interview Preprationby jhourcle (Prior) |
on Apr 04, 2005 at 03:17 UTC ( [id://444575]=note: print w/replies, xml ) | Need Help?? |
use also calls import(). From use:
-
for can be used as an alias for foreach, and visa-versa. But please, please don't use foreach with a C style for loop: foreach ( loop_init(); exit_test(); increment() ) { ... }As for exec and system, one of 'em forks, one doesn't. I always forgot which one is which, and look them up, too. (exec never returns, while system does) and sometimes, I just open a pipeline.
In Section
Seekers of Perl Wisdom
|
|