Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Error/Warnings

by SparkeyG (Curate)
on Feb 24, 2001 at 01:23 UTC ( #60559=note: print w/replies, xml ) Need Help??


in reply to Error/Warnings

My suggestion, such as it is, would be first to initialize your $temp var ala:
my $temp = "";

Second, I would suggest within your while loop:
while ( <> ) { $temp .= $_."\n"; }

--SparkyG UPDATE
Added <> to the while loop condition. I was just furthering someone else's errors. --SparkeyG

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://60559]
help
Chatterbox?
[Discipulus]: but Dumas is waiting for me in the bed.. luckly as book author.. see you!
[ELISHEVA]: Sleep well!
[ELISHEVA]: Or read well
[Discipulus]: thanks, best dreams to you all

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2017-05-28 20:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?