Advertisement

Experts have come up with some helpful tips for getting a solution to your problem fast.

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Time Tested Perl Solutions: 626 - 650 of 2190
 
I have a odd situation, I call oracle procedure to insert data. This procedure suppose to get the table name based on id passed to it. It gets the table name only if called via sqlplus or SQL ...
I am trying to find a good way to detect file changes -- basically for syncing .zip files over a really poor / low bandwidth FTP link.  So, I have one server that generates hundreds of .zip fi...
how to pass variable from perl script to batch file? perl script: $fpword = "xxxx"; system("D:\\test.bat %$fpword%"); batch script: echo "%1", I'm getting blank
I'm trying to send mail using a contact us form from our hosted gmail account.  For example, our account is support@mydomain.com and we are using hosted gmail for email. I need an email scr...
I am writing a simple scheduling program in Perl using alarms and an endless loop and runs in the background.  The loop causes the script to use at least 25% CPU utilization on a Unix box (Sol...
hello, i have a perl script that send an email after a from submission. the email is received with plain text. i would like to apply html tags to the body of the email and i would li...
I need to create a Perl script that will connect to approx 50 SQL Server 2000 and 2005 instabnces across different servers. I am hoping to accomplish this without creating 50 different ODBC...
Dear Experts, I need a script to verify every 4 seconds if a file exist, if yes then I save with the time in the name and delete the original. Thank You in advance. Fabio
I'm having a problem installing a module (Net:SMTP) using CPAN. Below is what I am trying, and the error I get at the bottom. I'll also need anything that is a prerequisite for Net::SMTP (...
Hi, We are tasked to create a PERL script that uses and calls a specific CONFIG file written in SH/KSH. The CONFIG FILE declares environment variable and has functions that needed to be exec...
I am having a problem with writing a module and then calling it with another file. My module code is: <code> package policy; sub checkPolicyPrice {     my $policyCode = shift;     my $d...
I have two hashes data and feed_data with the same type of data: date, account number, currency forms the key and balance forms the values. I need to compare the keys and when they match I nee...
Hi, I'm trying to engage a process into the background using fork/exec system calls. The exec doesn't seem to fail but it terminates somehow. Here is the code snippet I have been using. ...
Hi Experts, How can I split input records using a couple of delmiters like "<" and ">}", retaining the delimiters in the output, and doing all this as a one-liner? So, assuming the input...
I recently upgrade to perl 5.8.7 (from 5.8.0), and unfortunately found that the following no longer gives me the localtime in the given timezone: $ENV{TZ} = ':/usr/share/zoneinfo/US/Eastern...
I am new to PERL and I think this should be a simple one... I want to convert this script to PERL: grep -s $x /etc/security/user if [[ $? = 1 ]] then SANS="No" else SANS="Yes" fi S...
Hi, i'm trying to create a function to validate a date. So far i just have this skelelton of the code done so far. sub IsDate {      my $InputString = shift;          ### 10/20/2003      if ($Inp...
an't locate object method "USE" via package  "strict"   when i am running script to connect oracle pls help me to get rid of the problem platform : linux 7.3 oracle 9.2 i install...
To Experts,    I have two perl programs, which output the same results. -------------------------------------- #!/usr/bin/perl -w use strict ; my $dir ; $dir = shift(@ARGV) || "/tmp"...
Greetings Perl Experts, This is not a homework assignment.   I have written the following code. ==Begin code.pl #!/usr/bin/perl my @array = "trial.out"; my $element; for $element(@array...
I have many files in my directory with the string xxxxxx in all of them. How can i use perl script to rome this string from all of them. Thanks
I customer just emailed this error to me. Any ideas as to where to start troubleshooting? Thanks. -----------------------------------------------------------------------------------------...
I'm running ActivePerl 5.8.4.810, and I'm trying install Math::Pari (the ultimate purpose is to use Net::SFTP, which requires Net::SSH::Perl, which requires Math::Pari).  Whenever I try to use...
Hi all, I have korn shell script, if some script guru can help me to convert this script into purely Perl. I have little or almost no clue about ksh (very new to scripting as well). Hope to...
Hello, I'm using Net::Telnet::Cisco to update configs on multiple Cisco routers (all are 1841 model). The script reads from a CSV file that has the router IP, and commands to be entered. Th...