XP is just a number | |
PerlMonks |
Re: User-Defined Sub, Passing a Single Argument?by mmartin (Monk) |
on Oct 15, 2014 at 17:55 UTC ( [id://1103947]=note: print w/replies, xml ) | Need Help?? |
Hey Kenneth and duelafn, thanks for the replies! Yea, sorry about that I did have parenthesis around that one example, I just forgot to include them when I wrote out the example. And I did accidentally use it without them when I was testing and got a '1', since I only passed 1 Arg... Ok, well its good to know that it's more of a personal taste sort of thing, so thanks for the info. It is much appreciated... Thanks! I kind of like the 'shift' method myself... Easy to remember. Thanks Again, Matt
In Section
Seekers of Perl Wisdom
|
|