Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^4: Hash of Regex

by LanX (Bishop)
on Apr 06, 2010 at 22:56 UTC ( #833146=note: print w/replies, xml ) Need Help??


in reply to Re^3: Hash of Regex
in thread Hash of Regex

For Perl => is just a comma, and empty lists () are ignored when flattening lists.

perl -e' @a=(1,2,(),(),3);print "@a"' 1 2 3

Cheers Rolf

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://833146]
help
Chatterbox?
[haukex]: Discipulus: which one do you mean?
[choroba]: Hermit

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2018-06-22 08:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (122 votes). Check out past polls.

    Notices?