Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: File end marker problem

by BrowserUk (Patriarch)
on Apr 01, 2003 at 12:15 UTC ( [id://247220]=note: print w/replies, xml ) Need Help??


in reply to File end marker problem

If this is on a DOSish system (which doesn't seem likely given the shebang line your using?) then you would need to move the binmode statement to after the open to which it applies for it to have any effect.

If your on a *nix system, then you shouldn't need the binmode (although I did see something about this changing under some circumstances with 5.8? -- Warning:Vague recollection), but if that is the case, then you probably wouldn't be seeing the problem.


Examine what is said, not who speaks.
1) When a distinguished but elderly scientist states that something is possible, he is almost certainly right. When he states that something is impossible, he is very probably wrong.
2) The only way of discovering the limits of the possible is to venture a little way past them into the impossible
3) Any sufficiently advanced technology is indistinguishable from magic.
Arthur C. Clarke.

Replies are listed 'Best First'.
Re: Re: File end marker problem
by DaveKelly (Initiate) on Apr 01, 2003 at 13:12 UTC
    Super - thats got it licked. Thanks a lot. Dave

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-03-29 11:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found