Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Split problem using limit

by NovMonk (Chaplain)
on Aug 20, 2004 at 16:50 UTC ( #384651=note: print w/replies, xml ) Need Help??


in reply to Split problem using limit

Well, the "removing all doubt" appears to be covered.

The reason the 0 worked was because split was not finding anything to split on, except for that "10 minutes" line-- it was reading the 0 as the delimiter. If I had picked another character that could never appear in any line of my text file, I would have gotten the same result-- but not because I was doing anything right. I'll stop making sh*t up, davido. And eric256's right-- if I want the whole line, why not just say so?

Thanks to you both. I'll get back to my penance now.

Pax,

NovMonk

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2023-09-26 21:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?