Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (11)
As of 2016-06-30 20:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (403 votes). Check out past polls.