I'm working on a perl blog. I've published it on sourceforge. It's GPL'd but... it just don't work. I got an error while editing: Insecure dependency in open...
David Francos
yo.orco@...
Mar 1, 2008 1:31 pm
26031
... That means you're using open() in an insecure manner. It would have helped if you showed us line 136, but I'm guessing you're opening a file and the ...
... I'm Sorry, yes that was what I tough but I didn't get what I was looking for on google, next time I'll remember perlsec. The code in question is tainted:...
David Francos
yo.orco@...
Mar 1, 2008 3:46 pm
26033
... Untainting isn't a matter of removing the bad, it's a matter of extracting the good. my $file = $cgi->param('newid'); # $file is tainted because it comes...
How many elements can be stored in an array? I mean, is there any maximum limit for an array? If anybody knows, please answer. Thanks in advance Vijay...
... Vijaya> How many elements can be stored in an array? I mean, is there any Vijaya> maximum limit for an array? If anybody knows, please answer. Perl imposes...
From: merlyn@... ... I kinda doubt it. The index of an array is an integer so I'd expect the maximum limit to be your size of integers. Which means ...
I am trying to write a perl program to print out just the summaries of poker hand histories. These are text files.The problem I seem to have is that it prints...
Hi MIke, Try to use elsif if ($_ =~ /SUMMARY ) {bla; } elsif ($counter==0) {bla; } elsif ($_ =~ /d+) { bla; last; } with last it should jump out of the loop ...
Piroska Devay
piroskadevay@...
Mar 7, 2008 12:10 am
26042
How do you set a UNIX system variable from inside Perl? ... Don Dukelow e-mail: dukelow@......
... Dukelow,> How do you set a UNIX system variable from inside Perl? I've been using Unix for 30 years. I have never heard the term "Unix system variable"....
Hello All: I was wondering whether it is possible to have arrays as hash keys. For example: %hash = { ["a", "b"] => ["c", "d"] }; I came across hash slices...
... aditi> I was wondering whether it is possible to have arrays as hash keys. For example: No. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. -...
I am learning network programming. My current I idea is to create an application to benchmark multicast performance. I am having trouble enabling a socket to...
Hi All I am quite new to perl. I am trying write a perl script to 1. retrieve records from an MS sql 2000 database. 2. display it in perl Gui(i have got a book...
... Hashes (and arrays) can only hold scalars, that is, a string, a number or a reference. So in your example the hash will look like (if dumped with...
... You really need to spend some time with Perl Tk. It will do what you want with ease. If your Tk book is "Mastering Perl Tk" from Oreilly then everything...
Hi; What is the perl equivalent of a #!/bin/bash -xv? I'd like to have verbose (print each line prior to execution) and expand each variable prior to execution...
Thank you very much for your quick reply, yes the book i have is Mastering Perl/Tk, I need some form of guide and heads-on, I am not sure how to put the codes...
... Kenneth> How do I get the answers to either or both of these questions using Kenneth> perldoc? By searching the perlfaq. "perldoc perldoc" will tell you...
Hye friends Visit following link to get code to intregate Google map!! http://www.codelinkage.com/index.php?option=com_content&task=view&id=21&Itemid=9 Thanks...
Thanks Sandy, Its working for me. But I am struggling to kill the child process later from the main program. The following is the code I used: $| = 1; if ($pid...
... srikanth> In perl, how to find date after 5 days, if they have given todays date. my $in_5_days = localtime (time + 5 * 86400); If you want it as values...