http://qs1969.pair.com?node_id=17598


in reply to Re: Uploading a file
in thread Uploading a file

I think you need  binmode OUTFILE;after your open statement.

--Chris

Replies are listed 'Best First'.
RE: RE: Re: Uploading a file
by wonko (Pilgrim) on Jun 11, 2000 at 18:47 UTC
    Whoa!

    Thanks! now it works!

    /wonko

Re: (jcwren) RE: Re: Uploading a file
by Anonymous Monk on Nov 09, 2002 at 05:04 UTC
    I'm having the same problme but what is binmode OUTFILE;? Robert

      Click this link perlfunc:binmode (or type perldoc -f binmode on your own machine) and read. If the description there does not enlighten you, come back and ask again.


      Nah! You're thinking of Simon Templar, originally played (on UKTV) by Roger Moore and later by Ian Ogilvy
      binmode(OUTFILE) will cause all subsequent reads or writes to and from OUTFILE to be in binary mode. Depending on your system, this may or may not have any effect.
      Check chapter 8 of the Perl Cookbook if you have it handy, or perlfunc