Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: regular expression and grep function questions

by hippo (Bishop)
on Mar 01, 2013 at 23:18 UTC ( [id://1021360]=note: print w/replies, xml ) Need Help??


in reply to regular expression and grep function questions

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], $baz

So, there is no great significance to your $number other than it is appended to the end of the argument list.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1021360]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-19 22:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found