Don't ask to ask, just ask | |
PerlMonks |
Re^4: Perl cheat sheet (dualvars)by lodin (Hermit) |
on Jan 07, 2009 at 08:07 UTC ( [id://734575]=note: print w/replies, xml ) | Need Help?? |
$! was an unfortunate choice of variable. :-) It's a dualvar so it has different values if treated as a string or as a numerical. It's better to just create a copy and pass that, if the subroutine doesn't copy the argument. lodin
In Section
Craft
|
|