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

Re: regular expression and grep function questions

by hippo (Abbot)
on Mar 01, 2013 at 23:18 UTC ( #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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1021360]
[KurtZ]: mice?
[Discipulus]: your cat is dryarian holli
[holli]: not even remotely KurtZ. i did find feathers in the garden a few times though
[holli]: yet no body
[virtualsue]: I was called upon to remove a gnawed mouse carcass from the living room this morning
holli googles dryarian just to make sure that isn't actually thing
[holli]: I mean, you never know, right?
[shmem]: good $localtime monkses
[holli]: mmh. maybe a user handle "dry arian" is a bit unfortunate? https://www. dryarian/
[Discipulus]: exists!

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2017-11-21 12:46 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (300 votes). Check out past polls.