Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: ('Japh'^'Chars'^'Concept')

by pboin (Deacon)
on May 16, 2005 at 14:08 UTC ( #457464=note: print w/replies, xml ) Need Help??


in reply to ('Japh'^'Chars'^'Concept')

I think I'm with you, (well done by the way), but I'm a little lost by the _: just after the split. Is the underscore functioning as a label at that point? I think so, but I've not seen that before.

Anyone care to enlighten me on what advantage there is to this kind of eternal loop versus others? (Maybe it just has higher ob-fu karma?)

Replies are listed 'Best First'.
Re: ('Japh'^'Chars'^'Concept')
by jonadab (Parson) on May 17, 2005 at 19:41 UTC
    I think I'm with you, (well done by the way), but I'm a little lost by the _: just after the split. Is the underscore functioning as a label at that point? I think so, but I've not seen that before.
    Yes, it is a label. (If you don't figure it out when you see it, the redo should tip you off.) The underscore is considered to be a word character by most of Perl, so it can be used in places where most other punctuation cannot. For instance, a single underscore is also a valid subroutine name.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2022-05-23 18:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (82 votes). Check out past polls.

    Notices?