I have the next bash command:
rsync -e 'ssh -p22' -avz /home/user/public_html/* user@*.*.162.202:/home/user/public_html
After executed, this requires a password, i need a script in php o...
I am building DBD::Oracle v1.19 running with perl 5.8 on RedHat ES 3. The build went off went off without a problem. However, I cannot get the tests to run correctly. I set ORACLE_USERID to a ...
We would like to monitor SQL database services (MS SQL server service and SQL server agent services). Whenever these two services stops/starts, or crashes then Database OPERATOR's (email id's,...
I need to set the httpOnly flag for cookies that I'm setting. Currently I'm using Apache::Cookie, with Apache 1.3/mod_perl 1.29. Could someone show me how to do this?
Thanks!
Hi,
would appreciate some help from all you experts please.
I want to create drop down lists in my HTML using Template Toolkit and I want these lists to be populated and selected with th...
What am I doing wrong here?
I want an array of hashes that store data. My program doesn't work and I have stripped it down to the following code snippet which I have tried in my IDE.
my $...
I have a script which scrapes some files from a website. The site needs a username and password to login. The script ran fine for a while, but now - even though the site recognizes me on the b...
Hi,
I have a problem where I was asked to find if a particular directory exists in a filesystem. For example we have SunOS unix operating system which has /uXX filesystems. I need a perl scri...
Hello,
Please look at the Perl script attached in the snippet. I'm trying to develop a script, which will extract some strings in the file /var/adm/messages and display the output in a form...
Hi All
How do I get the last valve of a string and place it into a variable.
String could look like this:
FileName/value.pl
FileName/FileName/value.exe
FileName/FileName/FileName/va...
Using a perl script, I want to maintain a count on one line in a windows .txt file. I need a return that will cause the line to be overwritten with new data. I have tried \r, which has the de...
I need to define $logintime at the top of the script, define it at login, then access it in a sub script but it's not working? Please help!
Hi guys hope u can help.
What id like to do is the following....
Id like to create a perl script and dump it in the root directory of my H:\ drive.
What this script will do is the fol...
I'm trying to validate the date format in my input file. So far this is what I have and I am confused to how to write the ranges for the month and year. The information is below:
Sub v_da...
Hi All
I'm looking for a script similar to the one found on this page:
http://tools.seobook.com/spelling/keywords-typos.cgi
But I only need it to generate:
1) Skip letter
2) Dou...
Hi guys,
I am trying to work with this pattern to parse a url
(?:./(?<Subsystem>(.*?))/(?<Category>(.*?))/(?<Number>(\d+))/(?<Page>(.*?))\.aspx)|(?:.*/(?<Subsystem>(.*?))/(?<Number>(\d+))/?(...
my $Excel = Spreadsheet::ParseExcel->new;
print "EXCEL: $Excel->Parse($abs_path)\n";
chmod(0777, $Excel->Parse($abs_path)) or die "Couldn't chmod the $abs_path";
my...
How can I retrieve the dimensions of an image so that I can fit the text below it?
TIA
Andrew
Hi,
I'm trying to run a perl script that connects to a MsSQL db which holds all the information for our customer base. The following is the code:
#!/usr/bin/perl -w
use DBI;
my $db...
I am trying to run a shell command inside of my perl script and am running into a few problems. I guess I don't understand the formatting .
If I were trying to use the convert command lik...
I expect the script below to sit and when a record is written to the sec_fifo file. it should write a record to the simple_event table - instead it outputs the file contents and quits.
...
I have several scripts that are very similar that process forms. They run very slowly now and sometimes fail. When the pop up that tells the user the form went thru shows "Content-type: text/h...
I need to insert all the rows from a parser into a MySQL table and have some Perl scripts that I am trying to reuse, but I am a novice to the Perl DBI and if anyone could help me with the corr...
I'm needing to duplicate the functionality of an ActiveState 5.8 script that uses Net::SMTP::SSL to authenticate to my ISP's mail server -- only using perl 5.10. It doesn't look like Net::SM...
If I run more than 40 forks it prints out nothing... however if I run it with 40 or less it prints out the expected outputs. I would like to be able to get an error message or something as to ...