Advertisement

635 organizations, including eBay, Ericsson and Lockheed Martin, now work smarter with Corporate Accounts. Save up to 42%

 

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

 
Top Perl Solutions: 1 - 25 of 320
 
Hi Experts, How do I get a text file into an array with three columns. The text is separated with tab and looks like: ID123   ref456   box789 ID124   ref456   box789 ID125   ref456   box78...
I have two files fileA and file B with following contents fileA: aaple tomato orange pear fileB: tomato cucumber radish mango I need a code that will compare the two files and p...
I have a folder, abc. There are sub-folders (also sub folders to sub folders, etc) and files. I want to change all folders and files with names containing at least one upper case character.   ...
I am reading a file which potentially could have 100s of thousand records. I want to read this file as array and insert into a oracle tabe. Basically I want to do bulk insert with perl to achi...
Hi, In Perl, I know how to parse a file line by line, but how does one do a similiar operation with a string variable in a program. Lets assume I have a string like :-  "Name: Test   City...
I was able to run the perl script, but notice numerous Argument "wait"  isn't numeric in numeric gt <>> at contact.pl line 16. Now  pim.vol contains contacts, calendar, etc, so maybe the conta...
Hi all, I'm adapting a proxy script I got from:http://www.accordata.de/downloads/port-proxy/index.html This script can be used for port forwarding but is written for TCP connections only. ...
I have written perl program in which I want to check time elapsed between beginning and ending of STDIN input.For ex-If I input password from user , I need to calculate how many milliseconds u...
I have a linux (centos) server with multiple IPs on it to use as a proxies... i have an application that will connect to these proxies but I do not want to use a single proxy more than 3 times...
Dear Experts - I've the following script, and I would like know the working directory (PWD) before its deleting the files. sub deleteRemoteFiles {   foreach $fname (keys %remoteFile)  ...
Would like to know of a method to prepend a line to a flat-file in Perl. Trick is, without using a temporary file, copy/rename, or storing the entire file in a variable. (Prepending byte...
i need to just find find out that after i have collected data from filled form by user..how do i attach file chosen by user after browsing from his local hard drive and send everything to me i...
What do I do to get list of files that have tabs? How to do substitute the tabs with spaces? Is there a way to do that in a perl script that traverse the directory structure and replace tabs ...
Hello, I am trying to get this PERL script to work so I can extraxt binary data from a file, here is where I found the script: http://www.eggheadcafe.com/software/aspnet/30208939/reading-p...
Hi, Given the input listed below (two entries from a text file called "input.txt" that contains 130 such entries), I would like to use perl to create an output file called "output.txt" with...
I want to get ALL parameters of GET method and put them together in a single string variable... ex. If Test.pl?a=1&b=2&c=3&d=%20Test%20 called I want to have a=1&b=2&c=3&d=%20Test%20 ...
Hi I have a .pl file in my cgi-bin directory of my website and I it displays properly (i.e. it says 'Hello World see the code below) I want to reference scripts in my html but when i try ...
Hi In the below scripting I need to do a mget via the foreach loop. But after the file is ftped over I need to delete it off the remote server. Not sure what it should look like. would I c...
Hi, I created a webpage the submits a request to connect to a server using SWBemLocator.  When I run this script from command prompt , it works fine. but if I use the browser, I get this. ...
Hi, I have a Perl script that using DBI (DBD::CSV) to read a CSV file via a SELECT * to and convert it to a Excel file. Script is run on Windows 2003 server. The script works correctly, but...
I am trying to see what the best way to do this. Either perl, batch, cscript or some other command line means. I need to parse a multi-line text file which contains data like: --------------...
Hi Im having trouble getting the IIS configuration correct for a Perl ISAPI extension that was provided by ActiveState.  I'm running Windows 2008 Web Edition X64 and IIS 7. At the Server...
Hi, Attached is a sample of what I believe to be a binary file. I would like help reading it via perl and simply outputting the data in ascii format. I also attached the spec describing the fi...
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'm not a Perl programmer and have inherited a Perl script.  I've seen this script run on another machine, so it works and I'd expect any issues running it on my machine to be configuration on...