Beefy Boxes and Bandwidth Generously Provided by pair Networks BBQ
XP is just a number
 
PerlMonks  

Re: Printing file to browser

by Daddio (Chaplain)
on Apr 02, 2001 at 21:12 UTC ( [id://69126]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Printing file to browser

Two things: are you using the -w flag, and is the file in the location you are expecting?

When I checked the code, I found that when the file existed in the current directory, I saw the whole thing, but when it didn't, all I saw what what you are seeing.

With the -w flag set, I got this message back when the file did not exist:

readline() on closed filehandle main::FILE at script.pl line 7.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://69126]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.