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

Re^6: Symbolic references

by LanX (Chancellor)
on Apr 15, 2013 at 13:16 UTC ( #1028736=note: print w/replies, xml ) Need Help??


in reply to Re^5: Symbolic references
in thread Symbolic references

Just a minor note: your way to iterate thru different arguments by index is rather cumbersome

just do

~$ perl -E 'foreach $arg (@ARGV) { say split /\//,$arg }' 1/2 a/b/c 12 abc

And plz consider using strict and warnings!

Cheers Rolf

( addicted to the Perl Programming Language)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1028736]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2016-12-08 06:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (135 votes). Check out past polls.