Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: uninitialized weirdness

by arturo (Vicar)
on Nov 17, 2000 at 00:02 UTC ( [id://42039]=note: print w/replies, xml ) Need Help??


in reply to uninitialized weirdness

I don't have any ideas about why it's not working at the moment (without the data the script's reading in, it's hard to tell why), but you might try populating @holder with different methods. The first one I'd suggest is not *terribly* idiomatic, but it'll make everything explicit.

my @holder; open FILE, "tempfile" or die "Couldn't open tempfile:$!\n"; while (defined( $_ = <FILE>)) { push @holder, $_; } close FILE;
And run the code as before.

Philosophy can be made out of anything. Or less -- Jerry A. Fodor

Replies are listed 'Best First'.
Re: Re: uninitialized weirdness
by vaevictus (Pilgrim) on Nov 17, 2000 at 00:04 UTC
    That method is my alternative... my original is a syphoning of LWP->content...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-05-30 06:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found