here you go
You can decide where file is to be saved. Sample below save file in directory c:/upload (make sure to create this directory before you test the script)
#!c:/perl/bin/perl.exe
use CGI qw/:standard/;
print header;
if(param) {
save_file();
} else {...
>>>>>How do you know if active perl is installed or not?
Well u can simply check it out by clicking the start button -> program files -> you have active perl there listed in programs
>>>>>What is the difference between active perl and perl?
well active perl is for Windows environment
>>>>Do I need any make file?
the answer is NO , Once you installed an active perl , you can install all the module using ppm
unless your behind a firewall then for windows its nmake command
>>Do I need to set any enviornment variables?
the answer is NO , when you install Activeperl the setup...
use warnings;
use strict;
use CGI; ##### Bring CGI module into program
use CGI::Carp qw(fatalsToBrowser); ### displays all errors onto browser
my $q = new CGI;
my $dbh = DBI->connect( 'dbi:mysql:host=xxxxxxxx; sid=xxxx;port=xxxxx',
'user'...
Well As far as I know
XML::Simple allows you to read in XML files as nested hashes of references, which can be very useful if you're only extracting a few values, here is the link for that
http://search.cpan.org/~grantm/XML-Simple-2.12/lib/XML/Simple.pm
And XML::Parser is a SAX based parser...
hello
webmaster
if u need to convert the result of a database query to XML , u need to use
XML::Writer or
XML::generator::DBI modules
i would sugegst you to go through this link
http://www.informit.com/articles/article.asp?p=30010
hope it helps
ronan
This is littile advanced to displayed onto a browser when u have a parameter
use CGI;
use CGI::Carp qw(fatalsToBrowser);
my $q = new CGI;
my $dbh = DBI->connect( 'dbi:mysql:host=xxxxxxxx; sid=xxxx;port=xxxxx',
'user'...
hello duncan
what about the perl date module
what I did not understand in your answer is
($seconds, $minutes, $hour, $dayOfMonth, $month, $year, $dayOfWeek, $dayOfYear) = localtime(time);
print "current dayOfMonth is: $dayOfMonth\n";
$month ++;
print "current month is: $month\n";
$year +=...
Hello Evan
I read your questions well I have also started programming in Perl with Oracle 8i and I also did have some problems installing DBI and DBD modules as We have a proxy and in spite of prxy address in environment tabs , I had not been able to install but I did succed when I stored to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.