Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

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

by Lotus1 (Curate)
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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1022663]
Discipulus is Corion reading 'Gory details of parsing quoted constructs'?..
[perldigious]: That's awesome erix. One of my work friends, who coincidentally convinced me to learn Perl originally, has a Finnish pen-pal. I showed him this and he immediately wanted to send it along to her.

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (12)
As of 2016-12-06 16:22 GMT
Find Nodes?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:

    Results (112 votes). Check out past polls.