Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: perlish way of splitting file records

by state-o-dis-array (Hermit)
on Jun 01, 2006 at 15:54 UTC ( #553077=note: print w/ replies, xml ) Need Help??


in reply to perlish way of splitting file records

Is it always the fourth element you need or always the last? Consider:

(split(/:/,<FILEHANDLE>))[-1]
If you always want the last element.


Comment on Re: perlish way of splitting file records
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (12)
As of 2015-07-06 16:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (77 votes), past polls