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

Re: ignoring empty returns from split

by Yohimbe (Pilgrim)
on Apr 24, 2001 at 03:06 UTC ( [id://74907]=note: print w/replies, xml ) Need Help??


in reply to ignoring empty returns from split

my ($one,$two)= ( split /exp/,$line)[0,1];
Just because there is always another way to do it.
--
Jay "Yohimbe" Thorne, alpha geek for UserFriendly

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-25 22:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found