laziness, impatience, and hubris | |
PerlMonks |
Re: Global Variableby oko1 (Deacon) |
on Sep 22, 2008 at 14:46 UTC ( [id://713032]=note: print w/replies, xml ) | Need Help?? |
Ignoring, for the moment, your misuse of "system" (please do follow Corion's advice - it's dead on target), you could do it this way (a.k.a. "crude but effective"):
Or, if you really insist on using "system":
Update: Tweaked regex to remove unnecessary parens (just because I'm picky like that. ;) -- "Language shapes the way we think, and determines what we can think about." -- B. L. Whorf
In Section
Seekers of Perl Wisdom
|
|