RE: dbi module for ActivePerl

2002-03-17 Thread yahoo
Hytham, from a command prompt type 1) PPM 2) INSTALL DBI it really is that simpe :-) regards Joel -Original Message- From: Hytham Shehab [mailto:[EMAIL PROTECTED]] Sent: 13 March 2002 12:59 To: [EMAIL PROTECTED] Subject: dbi module for ActivePerl Hello!, i use perl from ActivePe

perl

2002-03-17 Thread Charles Fletcher
i'm a beginner were do we start, lol, please let me know ok.. thank you very much.. charles

Using CGI.pm

2002-03-17 Thread Octavian Rasnita
Hi all, I have a question about using CGI.pm. How it is better? To print directly the html code with print " ... "; etc. or to print using the CGI.pm print $q-> start_html(...); etc. Does it work faster in a way or another, or are there any advantages? I saw that some things can't be made

Why doesn't it work?

2002-03-17 Thread Octavian Rasnita
Hi all, I tried the following line to open another location, but it doesn't work. print $screen -> redirect(-uri=>'http://localhost/index.html'); It doesn't redirect to another location. It just prints the following: Status: 302 Moved Location: http://localhost/index.html Do you have any ide

Re: dbi module for ActivePerl

2002-03-17 Thread Hytham Shehab
thanks joel, but i try to see the available drivers with @x=DBI->available_drivers; it gives me Example and Proxy, with no sign of MySQL - mysql is installed and working properly with other version of perl, ie perl from perl.com - so what is the problem. thanks in advance. -- Hytham Shehab

RE: Re-displaying data back into forms

2002-03-17 Thread Robert Howard
For text boxes, to have it autofilled with something that the user can add to or edit, simply put the text you want to appear inbetween the and tags... So for instance if the string $prevtext contained the text you wanted to be in the form, you would put it in something like this: print qq~

Adding the input file digits together

2002-03-17 Thread Bruce Ambraal
Hi I am want to add digits in In_digits together. Print total to screen. Could someone help? Thanx Bruce In_digits: 1,200 2,400 #!/usr/bin/perl -w open(INPUT, "In_digits") || die; open(OUTPUT, ">Out_digits") || die; while () { if (/(\d{1})(\,)(\d{3})/) { print OUT

Adding the input file digits together (Come on guys)

2002-03-17 Thread Bruce Ambraal
Hi I am want to add digits in In_digits together. Print total to screen. Could someone help? Thanx Bruce In_digits: 1,200 2,400 #!/usr/bin/perl -w open(INPUT, "In_digits") || die; open(OUTPUT, ">Out_digits") || die; while () { if (/(\d{1})(\,)(\d{3})/) { print OUT