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: 201 - 225 of 970
 
Hi, My mail script based on Net::SMTP is failing when I try to send to multiple recipients. I know why it's failing--because the multiple recipient formatting is incorrect. But I don't know...
Hi, If I use LWP to POST to a form to for example http://www.google.com/post.pl, How do i let LWP auto redirect if http://www.google.com/post.pl redirects to http://www.google.com/post_new...
i m doing the folowing: 1) moving a file from one location to another 2) unzipping that file in new location 3) parsing the file in perl in new location (size of file is approx 130 MB) ...
I need to call an oracle stored procedure and pass parameter to that procedure from perl, using bind variables. I have written some code. But it is giving the error Can't bind unknown place...
What is the best way to get $year, $month, $day from string 20071224 using perl?
My array is made by n rows and 9 columns, and I need to sort the whole array with ref to the 5th column (id=4). How?
Ok, so I know there is no way to check client side filesize before upload without using Java or ActiveX(ie) and I don't want some bloated application. I have seen a few upload scripts out ther...
I have the following text file below that I need to parse out certain records. I just need the records that have astrisks(*) and the word "PRD1" in them, but exclude the ones that havethe ...
I generate an Excel spreadsheet by using the Perl module Writespreadsheet:Excel, but the string in the cell is in a "General Format" with the following data: 0.207242063 In Excel when I ch...
i have create a web site which require user login. I want to clear the session information after the user close the browser. could anyone check the code below for me what's wrong with it? u...
Hi, I am looking for a (direct) way to list all processes and their related PID from within a Perl script. Also I want to be able to kill certain processes (based on thier PID) from within...
I would like a script written that will do a find and replace on my server. In your example please find abc and replace it with 123. I would like to narrow down the find and replace to spec...
i am a total perl newbie but i have inherited a script to transpose a text file. For various reasons i have to use perl. The only thing is, i dont know how to feed it the script to be transpos...
Is the follwowing code possible? Can you correct it (error at "keys %File")? (I get the error "Type of arg 1 to keys must be hash (not concatenation) at ..." if I try "print keys %File{$file}...
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, ...
Hi,  I am in the middle of redesigning my website and would like some help in setting up a client login feature.  How do I do this?  I have been told I need to install a script onto my server?...
Hi, I have written a perl program and would like to redirect all its output to a file /var/log/my_program.log.  Is there a simple line to do this? E.g. STDOUT = "/var/log/my_program.log";
I have an array (@contents) that contains a large list of records. Each record is in the following format: field1|field2|field3|field4|field5 Using perl and it's standard modules, how to I...
I have a perl script that I need to export a variable with.  This is what I have so far and it is not working:   export $ENV{'GEN_FIXDATE'}="@qry_result[0] 00000000"; @qry_result[0] just...
5     3TA     TA     cust011     3/27/2008     2:30     3/27/2008     2:40     SU     0:10 7     3TB     TB     cust015     3/27/2008     2:30     3/27/2008     2:36     SU     0:06 This is a tab delimited file with the 5th,7th col is the date while 6th,8th ...
I am tasked with daily downloads of transaction files from within a windows 2000 environment.  In the past, I have used the URLDownloadToFile successfully with the secure websites, but doing s...
Hi All. I have a perl script which parses data and writes it into a datafile which I load into Oracle db using sqlloader. Since my Oracle client program doesn't have a sqlldr, i was asked to ...
I am trying to use same perl script both on Windows and Unix enviornment, it works on windows fine but I get below error on Unix Can't locate Win32/Service.pm in @INC (@INC contains: /home...
I'm looking for some way to determine the rows/cols in an Excel spreadsheet that I'm reading.
I need to write to a binary/map file. Is this even possible with Perl?