Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Extracting data from a messy file (slow performance)

by Limbic~Region (Chancellor)
on Aug 08, 2008 at 15:43 UTC ( #703144=note: print w/replies, xml ) Need Help??


in reply to Re^2: Extracting data from a messy file (slow performance)
in thread Extracting data from a messy file (slow performance)

acidblood,
I have not read this thread. I just happened to see this node and something caught my eye - <DATA>.

You probaly should avoid using <DATA> for a number of reasons:

  • Same filehandle as __DATA__ - see SelfLoader
  • Should use a lexical file handle - see open
  • Should be using 3 arg open - see open

Cheers - L~R

  • Comment on Re^3: Extracting data from a messy file (slow performance)

Replies are listed 'Best First'.
Re^4: Extracting data from a messy file (slow performance)
by acidblood (Novice) on Aug 09, 2008 at 20:35 UTC
    Thanks! I'll change it! ;-)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2022-09-28 22:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (125 votes). Check out past polls.

    Notices?