The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: (OT) Perl Help



On 6/24/05, aashram <groups@xxxxxxx> wrote:
> Just starting using perl and want to upload a text file from a
browser.
>
> I have a cgi script that works fine for binary files but not for text
files which is going to be the case
> as the file is uploaded as binary. I then used the :crlf disipline on
the command BINMODE
> it does not work. any help much appreciated ?

Heh, well that's as clear as mud ;)

I *think* you're saying that you've got a binary upload script that
you want to adapt for text files: in which case just remove the
binmode() call.

You might want to investigate the excellent "perldoc" help
system, and
I can't recommend the Camel Book enough.


ant



UKHA_D Main Index | UKHA_D Thread Index | UKHA_D Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.