Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Splitting on an undefined # of variables

by dga (Hermit)
on Aug 01, 2003 at 21:50 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://280168]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-04-20 00:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found