Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: processing text from flat file

by jeroenes (Priest)
on Oct 01, 2001 at 21:37 UTC ( #115919=note: print w/ replies, xml ) Need Help??


in reply to processing text from flat file

split works on scalars, not on arrays. So join first:

@requests = split(/\|\-+\|/, join '', <REQUESTS>);
Just a minor improvement on the split, mehopes you like it.

Jeroen
"We are not alone"(FZ)


Comment on Re: processing text from flat file
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (11)
As of 2015-07-30 15:14 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 (271 votes), past polls