First  |  Prev |  Next  |  Last
Pages: 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611
Mystry CGI Perl from new Redhat server
I have a Perl CGI file working fine in past 5-6 years. Just upgraded our new Redhat OS, then my program suddenly only print out half of HTML file. The remaining half of HTML file are not printing. Any help will be very appreciate! Thanks! ... 21 Feb 2007 15:23
FAQ 4.48 How do I shuffle an array randomly?
This is an excerpt from the latest version perlfaq4.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete perlfaq is at http://faq.perl.org . --------... 21 Feb 2007 09:35
Performance project for the SigEx Foundry
have been testing performances of different scripting languages fordatabase access, text processing and client application data transfer. So far, I am getting better performance from PHP, but I don't have any hard data to back it up compared to others. This is a large project for the SigEx Foundry and it involves... 24 Feb 2007 18:53
how to use system command to launch a shell script ?
Hi all, I've searched the www for hours but I still don't understand why this isn't working. I am writting a perl script (on a linux server) that needs to run a shell script (on the same linux server). So I tried the following : 1 - exec "/path/to/my/shell_script.sh"; 2 - open EXIT, "/us/path/to/my/shell... 21 Feb 2007 14:20
FAQ 5.9 How can I use a filehandle indirectly?
This is an excerpt from the latest version perlfaq5.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete perlfaq is at http://faq.perl.org . --------... 21 Feb 2007 03:24
getOptions for object oriented Perl
Hi, Since some parameters from @ARGV are for the child method. I need to process some of these parameters in the method of the child class. But the following code doesnt work. The GetOptions do not process the ARGV for the parent class. How should I make it to work? In parentClass parseCommandLine(){ GetOpt... 21 Feb 2007 11:10
Regex matching a integer in a line
Hi experts, Can anyone tell me a regex to see if the line has a numeral only i.e, I dont want the integer in a line. I want the line which has only an integer while I am parsing a file..there will be many lines with integers but I want the line with ONLY integer in it (with some whitespaces which are to be avoided... 21 Feb 2007 03:24
How to get individual fields into variables using DBI?
The code fragment below will print all rows in the table mytable. If there are say 3 fields in mytable, field1, field2, and field3, how would I get all of the values into each field? That is, break up each row by field into variables? -Thanks my $dbh = DBI->connect( "dbi:Pg:dbname=$dbname;host=$h... 24 Feb 2007 18:53
How to replace a "/" in perl
I have a list of sql files, in which it ends with a "/". Now I want to replace it with "//end" for all files. And here is my perl command, " perl -pi.org -e 's/^\/$/^\/\/end$/' *.SQL " Suprisingly it does not work. Does someone know how to make it working ? I am using perl 5.6.1 on Linux. Charlie ... 15 Mar 2007 22:53
simple use of eval of somethinng else
I have a string $expecxted_status = "!= 0"; $status = 0; What I'm trying to do is if ($status != 0) { .... } How do I get the $expected_status to evaluate to the boolean that it is, in relation to $status? $a = '== 0'; $b = '2'; eval { "$b $a" }; warn $@ if $@; The above does nothing. ... 20 Feb 2007 19:03
First  |  Prev |  Next  |  Last
Pages: 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611