2000 organizations, including eBay, Ericsson, and Lockheed Martin, now work smarter with Corporate Accounts. Save over 36%!

 

Having problems asking a question? Have a general question about Experts Exchange? Let us know!

 
Time Tested Perl Solutions: 26 - 50 of 1903
 
I'm writing a fragment of perl which is being included by the main perl program elsewhere. I want to split it into a few files for maintenance purposes, and include each of those from my "t...
I have the following perl code that copies and renames files with the current date appended to the file name.  I need to modify it to move  and rename the files with the date appended to the f...
Hi, I am trying install DateTime-TimeZone package, but when I do so an error comes up with the following: Can't determine best at C:/Perl/lib/ActivePerl/PPM/Package.pm line 167. Can't...
I have an output file that is created with a Perl script that I want to align the data into readable columns.  The part of my script that does this is below: printf OUT "%s          %s     ...
Hi, I need some help with writting a perl script. Here is what I need to do: 1. I need to pull down a bunch of files from an ftp server on a schedulable basis (mainly daily). The file name...
i write a perl code as a web service client using SOAP::Lite, it works fine in most cases. When the server throw out the messege: "There is an error in XML document (1, 431)" and the inner e...
I'm on a fc3 box with perl v5.8.5. I'm a newbie for Perl programming. I'd like to convert an ascii data file to binary data file using a Perl script.   The data are Integer format and  separat...
e.g. I want to run "dir > temp" in the middle of perl script?
hi.. i have this perl code that create csv files as well as text files. however, my csv fils could only print 1 output instead of 2. how can i modify the below code to include the fore...
The program is as follows: # file name : killChild.pl use POSIX ":sys_wait_h"; use strict; my $etime = time + 1; my $pid; sub sigChild {      print "in the signal handler\n"; } ...
Hi There, I am attempting to install DBD-Oracle using ppm 4.0 on a Windows XP computer that has ActiveState version 5.10 installed. I could not do this successfully These following are the...
I am trying to install perl's DBD::mysql package with cpan > install DBD::mysql, after successfully installing mysql in an Ubuntu machine, but cpan barks complaining about "mysql_config", a fi...
I am trying to get this perl script to read file from a folder.  I keep getting the following error.  Script at bottom. C:\>Perl -w C:\PerlScripts\PerlParserForEdgar.pl C:/PerlScripts/...
Hi Experts, I've a perl script that calls a shell script. I need to query the shell script's return code to determine if an error alert needs to be sent or if the job is ok. Exit code 0 & 1...
I am looking for a perl script that can count the number of jpg files in a given directory. Can this be done? What does the script look like?
Why is this error showing up? When nothing is entered, it still returns ‘Bingo’ (=match).  How do you correct it? syntax error at ./try6.pl line 24, near ") {" syntax error at ./try6.pl l...
Hi, I want to set a timer that will simply keep on doing something with a few seconds in between. I tried the following, but it simply exists while the perl program should keep "printing t...
I'm moving some stuff to a new server and I'm getting this error: DBI connect('okcdev00','xxxx',...) failed: ERROR OCIEnvNlsCreate (check ORACLE_HOME and NLS settings etc.) at /u/unilocal/a...
I'm using the Perl module Spreadsheet::WriteExcel. I want to subsitute a variable for the cell rows, instead of writing each line like I did below?? Any ideas?? $worksheet->write(1, 3, ...
Hello All, I'm trying to figure out how to issue a snmpwalk command through perl. I have never done anything with snmp and programming before. Attach is the system command that I use. ...
I am new to perl,cgi  I have installed perl 5.6 and when i run a test cgi script i am getting the following.... Can't locate DBI.pm in @INC (@INC contains: C:/perl/lib C:/perl/site/lib .) a...
Hi I have two text files with two indexed lists (one text string on each line, index is pipe delimited). I would like to compare all the strings of the first file against all the strings in...
Hi, I am new to Perl and Linux I am using Debian I wanted to install module ReadKey so i used command cpan Term::ReadKey I am getting error message: /bin/sh: cc: command not found ...
Hi I look for a code that is able to determine whether the form input value is 1) a positive number (with only digits) or is a string 2)  (independent to above) a function that deter...
Using samba I mounted a UNIX folder into windows folder. Now I am trying to get a perl script that copied files from C:\ to this mounted drive which is called - S: Following is the script ...