On Fri, 06 Dec 2002 08:22:19 +0200, Stelian Iancu wrote:
> I try to download a file from a CGI script. Here is the code:
>
> $self->header_props(-type=>'application/x-octet-stream',
> -attachment=>$file);
>
> open(FILE, $file);
> binmode(FILE);
> $/ = undef;
> my($d
On 06 Dec 2002 08:22:19 +0200, [EMAIL PROTECTED] (Stelian Iancu)
wrote:
>Hello!
>
>I try to download a file from a CGI script. Here is the code:
>
>$self->header_props(-type=>'application/x-octet-stream',
>-attachment=>$file);
>
> open(FILE, $file);
> binmode(FILE);
> $/ =
Hello!
I try to download a file from a CGI script. Here is the code:
$self->header_props(-type=>'application/x-octet-stream',
-attachment=>$file);
open(FILE, $file);
binmode(FILE);
$/ = undef;
my($data) = ;
close(FILE);
binmode(STDOUT);