Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Split not working

by bpphillips (Friar)
on Jun 06, 2006 at 15:59 UTC ( #553846=note: print w/replies, xml ) Need Help??


in reply to Split not working

You're splitting on spaces but in your --queryformat argument to rpm you're specifying that the INSTALLTIME:date and NAME fields should be seperated by \t (a tab character). Try:
split(/\t/, $data);
--Brian

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://553846]
help
Chatterbox?
[choroba]: Yes, (...)+ only returns the last match
[erix]: hmyeah... I guess I'll just have to figure out some other way
[choroba]: split or while /.../g

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2018-01-19 08:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (216 votes). Check out past polls.

    Notices?