I would like an example of a small perl program that would except a list of variables from a user that would be plugged into an IN statement of a sql SELECT statement.
Would I be able to ...
I need to be able to change the system time from inside a Perl program. I can't use one of the test modules, I really need to change the system time because of timestamps on files.
I don't...
Hi
I'm using a the nms formail to process a form. the form is actually an online menu order that is a simplified shopping cart with out the checkout and extra fields. My question is can I...
I want to install the latest stable perl version (activestate) with SSL support on my windows XP.
Does anyone know where and which file to download.
thanks,
The following simplified code snippet works fine if it is run in a directory with no spaces, eg: C:\TEMP. But if I put the script in a directory with spaces, eg: C:\Program Files, then it wil...
I am having trouble understanding the difference in perl between an array and a list. Specifically, I am trying to use the GD::Graph CPAN module to graph some database query results. The inp...
Hi!
I am looking to remove a sentence in a string which contains the pattern "$image link: click here$". The way I'm thinking about doing it is by matching by the dot from the sentence befo...
Hi,
when try to execute this perl script getting the following error. Please help!!! FYI, I took the script from the following link::::::
http://www.experts-exchange.com/OS/Microsoft_Ope...
Whenever there is a match for the file, I would like to append the matched line to the output file. The following is my code. It does not work. Thanks for your help.
Hi,
I have a line like this:
<div class=\"latestnews_inter\" style=\" border-bottom:1px solid #cccccc; display:block;\">18h23 - <a href=\"http://mysite.com/index.php/noticias-geral/147...
I have a text file that lists IP addresses line-by-line in a single column. For example "IPs.txt" looks like this:
3.11.111.111
3.22.222.222
3.33.333.333
I have another file that contain...
I have two subroutines. The calling subroutine has a hash. I want the subroutine that is in turn called from the first subroutine to alter the value of keys of the first lexically scoped has...
I have a file that gets created each day in /tmp called "usererrors" each line in that file shows errors made by users.
Example:
Terry error1 costal
Frank error 2 ramp
Jeff wrong date
...
Hi,
Can someone provide me with the equivalent to this bash command?
(not a perl one-liner, I want to do the same thing inside my perl script)
Need to parse a text file so I need some help getting the correct info. So far I'm able to get the first line... of each data that I need.
The problem is that each line has some information...
Does anyone have a script that send HTTPS URL requests to some www.xx.xxx server.
I want to do some tests and want a script that sends a URL every 3 seconds.
I have the following expression that I got from an earlier EE posting concerning an issue passing a param from a CGI program and matching it to a XML file.
print LOG "$date|$group->{'Name'}...
Hello,
I have been given piece of sample PHP code, and I need to convert this to Perl.
Ideally, I need to get the hash into a variable called $new_hash.
Here's the PHP code:
<?php
...
I have a perl script with multiple subroutines. Based on the argument passed to the script (which is the name of the subrotuine in the script) i want to execute only that subrotuine. additiona...
I am new to perl so bare with me here...
I have the code below but when executed it doesnt seem to know if I am hitting 1-6, it still print the foreach loop???
So what I want to do is if...
I need to substitute a full web address with another page name, but I cannot get PERL to detect the full web address.
The function looks like :
$worksheet->write($row, $col, $Fld[0], $header);
Currently it is getting written as 2.356E12, but I want it to remain as 2356E09.
how do in include the ftp vin options when i use the Perl net ftp module
I am having major issues getting this setup. I am running Windows NT
ActivePerl 5.10.0 Build 1005
Perl v5.6.1
PPM v.2.2.0
I've tried following this post but was unable to: http://www.exp...
Does anyone have thoughts on why my script is getting this error? I have copied the Recursive.pm from cpan and put it in my path with all the correct permissions. If I can't get the Recursive....