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

Re: Splitting on an undefined # of variables

by dga (Hermit)
on Aug 01, 2003 at 21:50 UTC ( #280168=note: print w/replies, xml ) Need Help??


in reply to Splitting on an undefined # of variables

Perhaps something along the lines of:

while(<>) { my(undef, $args)=split 'args:'; # clean up the $args string here # ie chop off the ], clean up the quotes etc. # here you are ready to do your processing }

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2021-06-14 21:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (66 votes). Check out past polls.

    Notices?