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

Re: Output problems

by SuicideJunkie (Vicar)
on Dec 07, 2016 at 15:14 UTC ( #1177392=note: print w/replies, xml ) Need Help??


in reply to Output problems

The large amount of commented-out code may be hiding something... I see you have declared @array, but I can't spot where you populate it.

It also seems to me that you probably don't want @array anyways, since that implies reading the entire file into memory instead of processing it a line at a time. Replacing @array with my $line = <$ifh> is usually the better approach.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2021-02-27 16:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?