🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.perl.misc
Article #311

Re: gettin a "file" argument in perl

#311
From: Bob Trieger
Date: Wed, 26 May 1999 00:00
22 lines
1246 bytes
[ courtesy cc sent by mail if address not munged ]
     
maas@ensae.fr wrote:
>Hello,
>I am trying to get a file from a form,
>I use the
><INPUT NAME="FichierATraiter" TYPE="FILE" VALUE="">
>syntax, but when trying to get this file (or file handle?) to a perl
>script for further treatment, but when I use
>$FichAT=CGI::param(FichierATraiter);
>and try to print $FichAT ... nothing
>the same with @FichAT
>
>Any clues, or place to get doc on howto?
>thank for any answer...
>if you could send a copy of your reply to

perldoc CGI

The is a very clear example in the doc that comes with CGI.pm.

HTH
Technical Details
Message-ID: <7ihoci$a93$1@oak.prod.itd.earthlink.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <374BF03B.578EFA1B@at-lci.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 112333,1a63c8be21674450
X-Google-Attributes: gid112333,public
X-Google-Thread: fa0ae,1a63c8be21674450
X-Google-Attributes: gidfa0ae,public
From: sowmaster@juicepigs.com (Bob Trieger)
Subject: Re: gettin a "file" argument in perl
Date: 1999/05/26
Message-ID: <7ihoci$a93$1@oak.prod.itd.earthlink.net>
X-Deja-AN: 482466670
X-ELN-Insert-Date: Wed May 26 14:25:06 1999
References: <374BF03B.578EFA1B@at-lci.com>
Organization: is for the weak
X-Posted-Path-Was: compaq
Newsgroups: comp.lang.perl.misc,fr.comp.lang.perl
X-ELN-Date: 26 May 1999 21:17:06 GMT