G
Guy
I used to always start my Perl scripts with the following:
#!/usr/bin/perl
use CGI qwstandard);
But in my search to create a script that would upload a file upon submission
from a web site, I found that these scripts begin with:
#!/usr/bin/perl
use CGI;
And then they continue with code like:
$query=new CGI;
$fname=$query->param("document");
$fhandle=$query->upload("document");
Is this a new flavor of Perl, or is it just a new library...?
Will a Perl script written with use CGI qwstandard); work if
this one line is changed to use CGI;
In other words, does use CGI; do everything that use CGI
qwstandard; does and then some?
Thanks for all
G.Doucet
#!/usr/bin/perl
use CGI qwstandard);
But in my search to create a script that would upload a file upon submission
from a web site, I found that these scripts begin with:
#!/usr/bin/perl
use CGI;
And then they continue with code like:
$query=new CGI;
$fname=$query->param("document");
$fhandle=$query->upload("document");
Is this a new flavor of Perl, or is it just a new library...?
Will a Perl script written with use CGI qwstandard); work if
this one line is changed to use CGI;
In other words, does use CGI; do everything that use CGI
qwstandard; does and then some?
Thanks for all
G.Doucet