Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^4: Bug in script, regex help req extreme urgent

by Lotus1 (Chaplain)
on Mar 10, 2013 at 14:03 UTC ( #1022663=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Bug in script, regex help req extreme urgent
in thread Bug in script, regex help req extreme urgent

BEGIN {undef $/;} ... print "Now parsing $filename\n"; my @file = <$INFILE>;

If you are reading line by line or into an array like this then you need to get rid of the undef $/ since that will make it read the whole file into the first element of the array.


Comment on Re^4: Bug in script, regex help req extreme urgent
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (13)
As of 2015-07-06 12:27 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 (74 votes), past polls