I have created a card shuffling script in perl. It shuffles up the deck and prints the top 5 cards. Now I'm being asked to remove the code that does the shuffling and include it as another fun...
Hi
I would like to install ActivePerl from ActiveState on my webserver using perlis.dll rather that perl.exe
I'm running IIS7 on Windows 2008 Web Edition and I would like to install Acti...
I am trying to teach myself forking in Perl, and am kinda running up against a wall. It may be that forking is actually the wrong approach. What I eventually want is a script that will monit...
I would like to find all files NEWER than reference file. I have already found reference file, but I am stuck now.
Can anybody help me to understand how to make it work?
I have a small section of html code which I have attached. This is just a small portion of a > 1mg html file. I want to parse the file and find all users (defined as schd_ftp_usr_2230_1 wher...
I have an xml-file that consists of a nested hierarchy of tags. I'm new to xml so I'm looking for a hint as to what xml-module I should use here. I've installed TWIG, PARSER, DOM etc but have...
I want to execute 'Enter key' from the perl program using 'ENTER' key code or escape sequence . I am running interactive program where I need to press 'Enter' two times but I don't want user t...
I'm trying to send an email to my address (foo@bar.com) using perl on a linux hosted server when a simple contact form is completed. I keep getting the following error:
bad header=no recip...
I'm trying to get Perlfect search (http://www.perlfect.com/freescripts/search/) implemented. I'm seeing the following error when I test my search.pl file:
C:\Perl\bin>perl.exe c:\inetpub\w...
I have a text file that has rows like this:
Test|Test|55555555|Su|Super|\ |01/12/1988|||||||Super_Su@test.edu|2010|F|Su, Jones|555-555-5555|Parent/Child|
At the end of each row is a pipe I...
Hello,
I need to verify a string from the command line in a PERL script. I need to make sure that the string has the following format:
ABS <A-Z><A-Z><A-Z> <0-9>.<0-9>.<0-9> <A-Z><number...
Hi,
There is a file in a directory, containing lines which start with a unique identifier. Example : FF3M6TC02TT656 AGCGAC-GCTATGAT
What I need the script to do is that when a user suppl...
I am executing sql query
my $user_xev=$dbh->prepare("INSERT INTO auth_xev(time1) VALUES ('$time1')");
$user_xev->execute();
It always populate same value like '2147483647' instead of val...
Hello experts,
I'm wondering if there's a way in perl of clearing regex captures from earlier matches. Take this one liner:
$ perl -e '$a = "foobarbaz"; $a =~ /foo(.*)baz/; print "$...
Hi All!
I am not a programmer at all just someone that inherited a project that I am stressing over!
I have included a parser that we use to select specific codes from a large flat fil...
I am writing a perl program to extract some data which is in RTF format from MS SQL database. Before passing it to an application, I need to convert rich text to ASCII since the application ...
I am a former MCSE x2 and went "the dark side", I am a linux/solaris admin.
I like perl except it is not all that readable months after someone wrote the code.
I want to do unix script...
I am trying to simulate some traffic for a web server by using Perl. The traffic has to have varying IP addresses, but I'd like to use the same (virtual) machine to do it. (I may also need to...
I am transferring the website, link for the live website is http://www.response-systems.com, and the link for the one on which i am going to transfer the website is; http://rere6659.staging-ze...
This must be an easy question for a Perl guru, but I don't know how to do it.
I want to assign a string of 100 zeros to a string variable $str.
How do you do this in Perl?
I was unable to write simple sample Perl script program which invokes small simple stored procedure to make simple calculation like addition,incrementing the value etc and then insert into ora...
I'm trying to use regex to find any three vowels in a string. I think I got the regex part down, but I'm not sure how to print out the results. The user will input the string and then I need i...
Hi All!
We have a parser that was written by an employee that is no longer with the company. No one here knows Perl enough to make changes in his scripts. We have a script that extracts t...
Hi, I would like to import the following command from Linux to Windows in order to write files continuously.
export count=0; time while [ "$count" != "100000" ]; do dd if=/dev/zero of=mnt/...
Trying to script a telnet session. I can't get any command output for the telnet command. For the attached code, output is:
C:\>test_ping.pl
Done TELNET
changing the command to
open...