A couple things spring to mind
sub nameimport { my (@name, @version); foreach (@_) { if (/hostname/) { @name = split(/ /); } elsif (/version/) { @version = split(/ /); }; }; #blah, blah, blah, do stuff... }
In reply to Re: What's wrong with my syntax?
by omnibus
in thread What's wrong with my syntax?
by vectorvillain
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |