First  |  Prev |  Next  |  Last
Pages: 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577
convert string of keys to multidimensional hash
how do I do this: convert a string such as "dim1:dim2:dim3" or array ("dim1", "dim2", "dim3") to a hash like: $hash{"dim1"}{"dim2"}{"dim3"} any help is appreciated ... 17 Feb 2007 19:34
Perl:CGI - Creating a Please wait message
I have created a CGI program which dynamically creates an HTML FORM. This form upon submit, goes out and does some work that can take up to 10 minutes to complete. Once done, the called CGI provides the user with logged results. My goal is to provide the user with an automated GIF and a message to please stand b... 17 Feb 2007 13:50
problem reading remote file.
Hello, I have a script to read remote file. The script goes as follows, #!C:\Perl\bin\perl.exe $remote= '\\\remotehost\remotedir\remotefile.jml'; open(fp, $remote) or die ("could not open the file"); print while(<fp>); close(fp); This script runs fine on my windows machine. But the same script when ... 18 Feb 2007 04:24
Why can't I access variable from other subroutine?
The two subs below are in a package named Mypkg.pm. The LoadConfig sub uses AppConfig. In this sub I can print the host variable using $config->host(). So I added the line our $hostx = $config->host(), to assign this to $hostx. Now in the TestSub sub, I try and print Mypkg::LoadConfig::hostx, but it never print... 18 Feb 2007 04:55
Automated testing of cgi / perl
Hello, I have the following situation: - Existing site with about 18,000 cgi pages. - Most pages are data driven (fill out form, submit, get results). Exact results may change from day to day as data get updated. - Some static html mixed in - Many pages require authentication. It is a custom in-house authentica... 18 Feb 2007 11:23
problem CGI read request POST
how to read a whole a requete post to extract the arguments there ... 24 Feb 2007 18:53
Uninstall a module?
Hi all, I force installed DBD::mysql when I shouldn't have and have broken just about everything I had running on this particular server. I'm getting 'perl:relocation error' all over the place. Any idea how I restore this or uninstall it and get my server back to normal? Thanks. ... 28 Feb 2007 10:00
Perl takes a lot of memory when you just require a file
I am decompiling some data from my C code which can be used by Perl programs later on. My Data structure is something like follows - struct tDs{ char *tName; int *data; } struct DS{ int index; char *rName; <list> tDs; } I am decompiling above data in a perl file (which I generate from C code) as foll... 19 Feb 2007 14:40
pattern serach over many files
Hi, Suppose I have got 3 files like this file1.txt file2.txt file3.txt abc gsywg wrtw def abc abc hshs dhwu wwg dadq aft hhs gtc ffs abc ttsg abc hhshh ... 4 Mar 2007 08:56
Regexp for email addresses.
use 5.9.5; # In fact, you need the newest blead. my $email_address = qr { (?(DEFINE) (?<addr_spec> (?&local_part) \@ (?&domain)) (?<local_part> (?&dot_atom) | (?&quoted_string)) (?<domain> (?&dot_atom) | (?&domain_literal)) (?<domain_literal> (?&CFWS)? \[ (... 7 Mar 2007 18:25
First  |  Prev |  Next  |  Last
Pages: 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577