Time for your 3rd Quarter Update! Are you in the running for the 6th Annual Expert Awards? Click the link to find out.

Third Quarter Hot Shots
 

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

 
Top Perl Solutions: 1 - 25 of 314
 
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...
Hi, Could you help me on this.  I was searching for this kind of script for the past 2 weeks and nobody was help me out. I'm very new to perl scripting and that's the reason why I'm aski...
Hi, I have a string of text with values enclosed by double quotes in each line of the text file. Using perl, how do i remove the double quotes but without doing any other formatting on t...
I have a script that needs to execute a command that has been tested and works on a command line, but it gives me this error: sh: -c: line 1: syntax error near unexpected token `|' sh: -c:...
Our client needs a very basic CGI server that works with SOAP protocol, written in Perl. It should be able to do something like: 1.) receives XML input data <xml> <param1>something</param...
HI am not sure what I am missing, I cant seem to install any cpan modules, I get this error: Make had returned bad status, install seems impossible I put nmake.exe in d:\perl\bin i th...
Hi, I have a large but simple XML file (10gb) that i need to split into a group of smaller files, no larger that 1gb. Is there a simple perl script that i can use to perform this task ? ...
I'm writing a perlscript in Aptana (or Eclipse) and at a certain point, if the output to the console is too large, the beginning of the messages generated during execution, like anything I pri...
HI All, Need some help with something I'm writing and I've hit a mental block. At current I'm fetching some data from sql and have stored a hash ref for each row in an array: sub load...
In perl, how can I execute a system shell command, but not wait for the command to complete? I am used to using the backtick method as shown below, but I do not want to wait several seconds...
I have a xml file that i need to convert to csv file. I have pasted the single xml record. Any help appreciated!!!
I have a UNIX box that has the "lwp-request" executable in the /usr/bin directory. I've have been unable to find an example script that would show me how to use this executable to POST data to...
I tried to use Net::SSH::Perl as below, but got error message. (I could manually login this server using putty) Is there anyone know how to do it. Thanks very much!
so I have some text: "HELLO world Number 2 of THREE" I would what a regex that would replace that sentance with: Hello world Number 2 of Three I would prefer if this could be done ...
Hello All I have this script that takes all the files in a folder and re-organizes them by date.  IE if i have: file1.jpg created 01-01-2009 file2.jpg created 03-01-2009 file3.jpg created 0...
I have been searching for 2 days on Google and haven't been able to find a single working script (or one that *I* can get working) that will send a trap on port 162 with a string that says som...
I would like to select * from tblshift and export it to an excel file. When I click on the button on the web page I am able to fire off the code below but what I really need is code to quer...
I'm trying to run some commands remotely by ssh. I need to set some environment variables in the remote machine for this connection. How do I do that?
I am trying to execute a URL in perl using wget. The problem is, on one server it is working just fine and another (practically identical) server I am getting an error message on exactly the s...
Hello, I've use Perl in command line mode to return $1 or $2 etc. to a bash script (sample below). However, now I have a case where there will be two or more matches in a file. How would yo...
I need to check if a file exists in a different directory in the Windows OS.  My code below shows how I do it for a file in the SAME directory, but I need to check a different directory.
Gents: I have a Perl/Tk application that uses the system() command and/or back ticks a filesystem command. When these commands are called, the GUI freezes up. This is annoying, but if anoth...
Currently I'm passing one value from my HTML input box "copy".  I have created a second input box "settings", but unsure how to pass the second value into my perl script var $settings using th...
Hi, I wrote simple perl script just for login to one website and save Cookies & SID to directory provided by first argument. Before everything was fine, now it doesn't work anymore.. :/ In s...
Hey all, I have a script that runs a command in perl via the system() command. The next section checks the exit code of the system command and if it's not 0 does some alerting to let peopl...