We don't bite newbies here... much | |
PerlMonks |
Re: regular expression and grep function questionsby hippo (Bishop) |
on Mar 01, 2013 at 23:18 UTC ( [id://1021360]=note: print w/replies, xml ) | Need Help?? |
Consider the general form: some_sub($foo, @bar, $baz);How would perl know when @bar ends and $baz begins? Actually, it cannot. So, one can suppose that the argument list is equivalent to these scalars: $foo, $bar[0], $bar[1], $bar[2], ..., $bar[n], $bazSo, there is no great significance to your $number other than it is appended to the end of the argument list.
In Section
Seekers of Perl Wisdom
|
|