Do not use on any
shared computer
July 24, 2008 07:46pm pdt

Experts Exchange is proud to recognize the top Experts of 2008. Alter egos aside, these Experts are technological superheroes!

 

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

 
Top Perl Solutions: 1 - 25 of 298
null
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 ...
Given two dates like the following Feb-14-07 18:20:11 Mar-03-07 20:32:19 how can I calculate the number of days (with decimals!) between the first an d the second?
I need to write a script in Perl that uses SFTP and SSH, for transfering files between windows and unix OS.  The ssh on the windows is Cygwin open ssh.   I  am currenlty working on buliding th...
I'm trying to install a Perl module on my Leopard Mac and used 'cpan <module name>'. This downloaded and expanded the package OK, produced the Makefile but the 'make' stalled because it can't ...
I need to write a script to execute command on the remote machine.  I am logging into the remote machine without password.   I found on the goole that I need to install Net::SSH::Perl to ex...
I am attempting to scan through large log files and get a count of the various error responses. To do this I need to see if the current response is already in my 2D array (as the first elem...
I am a complete nowise and would greatly appreciate help with a script. I have a file which needs to be split into multiple file based on the error code. Each record begins with REPORT: ...
I want to extract a perl module download from CPAN. I have downloaded the file, double clicked on the .tar.gz file extension and the (not impressive) Vista OS asks me what program I want to r...
Hi, I am trying to parse and XML file from weather.com. The file they send is pretty complicated so I wanted to first try a simpler file -- I tried the example given in the docs for XML::Sim...
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...
I've a Perl script working perfectly and now I must add: use strict; at the beginning of the script in order to run it correctly in a new server. I get an error: Bareword "break" n...
How do I check if the symbolic links are broken or not using perl?
I am getting the error message Spooler SubSystem App has encountered a problem and needs to close.  We are sorry for the inconvenience. while trying to print
Hi! I have some large xml files that I need to import in ms access. Using excel I'm getting some problems with special characters (&, ...). Is there any clean way to transform an xml into c...
I have few perl scripts, was working well till few weeks back. Suddenly they started picking wrong localtime - the value returned by localtime function. Most of the time it returns correct val...
There is a perl script which takes two command line parameters as input. This script (myscript.pl) has been encrypted using GnuPG tool (i.e. pgp) resulting myscript.pl.asc. When this perl scri...
Hi experts I have a string which contains 1 or more comma. The comma(s) could be anywhere. At the beginning, at the end, in the middle, together or with characters in between. Can anyone ...
I have an array in which I want to remove duplicate elements. I have seen several solutions for this using a hash. I tried these methods but my problem is that my data often consists of whites...
Hi experts, I have several files: name1_Apr.csv: 1.6, 1.05, 0.73, name2_May.csv: 2.7, 2.11, 0.88 name3_Jun.csv 1.4, 6.7, 0.2   :   : ----------------------------- How do I...
Hi , Iam using this command inside my perl script. system("net use M: \\\\Stmroot\\data\\Essoc\\Legal&Comp\\LC_GMP\\reports\\bo"); ... script code .. system("net use M: /DELETE "); Iam...
Hi, I'm having a heck of a time importing a mysqldump file back into my database using Perl. documentation and Google searches suggest this: system "mysql -uUSER -pPASS  DBNAME < source $p...
I need a perl script that will merge 2 or more flat text files. So for instance, if I have two files: File1 content: john   doe     12/25/68   M File2 content: jane   smith   03/23/78 ...
Hello all I am trying to write a script that can search through a file from begining to end. As it steps through the file it will look  for the following string....."Flushing". When the s...
I'm trying to upload a resume from my local computer into a database.  When I run the script below i get a "bad file descriptor".  Recently I transferred the project from "test.mysite.com" to ...
I've got an HTML form with a long list of data.  I want the user to be able to pick one, just one out of the list.  Currently the list is 165 names.  So I created a radio button for each name ...