Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Special cases make special community

by mtve (Deacon)
on Sep 16, 2009 at 12:15 UTC ( #795586=note: print w/ replies, xml ) Need Help??


in reply to Special cases make special community

If split is used in a scalar (or void) context, fields go into @_ (clobbering your sub arguments, if you have any)

... thus you can get the number of fields in a scalar and have the fields in @_ at once.


Comment on Re: Special cases make special community

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2016-02-07 09:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (250 votes), past polls