need help with inherited script that emails files


This perl script goes through a list of files in IFILE and for each file, it sends it on to sendmail. Attachments need special handling and are signified in the email-file by having a line start with 3@ folowed by ...
Posted On: Monday 26th of November 2012 08:36:18 PM Total Views:  407
View Complete with Replies

RELATED TOPICS OF Perl PROGRAMMING LANGUAGE




win32 advice needed forks threads or separate processes and pipes

Hi all, Just wondered what the common consensus was on the best way to go for parallel processing on windows with perl/tk. It seems that threads and tk are at best unreliable, fork appears to have similar caveates. Basically i ...
VIEWS ON THIS POST

288

Posted on:

Thursday 15th November 2012
View Replies!

Do you have the knowledge i need for my site?

Dear developer, Do you often wonder who built a certain website and how it is done And who manages that website right now Strange, but developers usually stay anonymous while they should present themselfs to get more orders. We have ...
VIEWS ON THIS POST

206

Posted on:

Thursday 15th November 2012
View Replies!

need help with perl api for Fedex shipping charge

Hi Does any know any good perl modules can connect to Fedex system and retrieve the shipping charge. I work on a online shopping cart system and need above function
VIEWS ON THIS POST

192

Posted on:

Thursday 15th November 2012
View Replies!

text input widget needed (with extras) (repost)

[reposted - news server seems to have dropped article somewhere] I'm looking for a quick solution to what I thought would be a 5-minute problem. I need a multiline text input widget: Tk::TextUndo would do nicely, except I also need ...
VIEWS ON THIS POST

175

Posted on:

Thursday 15th November 2012
View Replies!

I need to access foundry switch for execute command.

I need to access foundry switch with script for execute commands. My login is: User Access Verification Please Enter Login Name: ***** Please Enter Password: User login successful. telnet@srjobkp01>en Password: telnet@srjobkp01# telnet@srjobkp01#conf t telnet@srjobkp01(config)# I need to create a script ...
VIEWS ON THIS POST

160

Posted on:

Monday 19th November 2012
View Replies!

for each unique value in a column find the max value..need perl script

Below is my Input file:date mtime no size id day order \t\t20100607 154538.354300 200 1 101510 1409870399320100607 154539.420000 200 1 101511 1409870399320100607 154538.398200 487 1 100888 1409870399420100607 154610.720000 487 1 91588 1409870399420100607 154538.401200 200 1 101502 1409870399520100607 154539.420000 200 1 101500 14098703995I need a perl code to get the foll o/p. For each unique order field, calculate the oldest mtime; and for each unique order field replace the day field by the oldest mtime. For example, the 1st 2 rows have the same order field=14098703993, for which the oldest mtime is 154538.354300 and hence we put this value into the day field. The output as below:Outputdate mtime no size id day order \t\t20100607 154538.354300 200 1 154538.354300 1409870399320100607 154539.420000 200 1 154538.354300 1409870399320100607 154538.398200 487 1 154538.398200 1409870399420100607 154610.720000 487 1 154538.398200 1409870399420100607 154538.401200 200 1 154538.401200 1409870399520100607 154539.420000 200 1 154538.401200 14098703995Please help me with the code.. I have been trying for a long time now..
VIEWS ON THIS POST

182

Posted on:

Saturday 24th November 2012
View Replies!

need most efficient way to write this code that checks zips...

For comparing the data in the $zipField against all the zip codes in zipFile.txt, I would suggest reading through the text file and storing all the zip codes in a hash with some non-false value (so something other than undef or 0.) The check for a valid zip code would then consist of if (defined $hash{$zipField}).For the $addrField check, you're going to have to be careful. It's possible any house number with 5+ digits could, in theory, match a zip code. Once you sort out the house numbers problem, you could check any zip codes in $addrField against the hash you created from the text file.
VIEWS ON THIS POST

191

Posted on:

Saturday 24th November 2012
View Replies!

unix perler needs win32 API perl snippet

dear perl experts---I hope this is a request for a one-liner. I usually run linux or OSX, but I now am in need of automating some OCR on Windows. (The OCR vendors only sell affordable software on Windows in their ...
VIEWS ON THIS POST

177

Posted on:

Sunday 25th November 2012
View Replies!

need help with regular expressions

hi, i need the correct regular expression to set the unnamed variable $1 to any of "FantasyMFG", "Fantasy.NET", or "FantasyACC" in the following path: FantasyMFG/tags/2.1.16 (where "FantasyMFG" may be replaced with any of the others) this is for a system ...
VIEWS ON THIS POST

161

Posted on:

Sunday 25th November 2012
View Replies!

I need to extract an array from a scalar regex-wise ?

This is not a homework assignment. I'd be interested in more elegante' solutions than mine is all.. Let's say I want to extract all of the days of the week out of a scalar such as : $_ = 'We ...
VIEWS ON THIS POST

192

Posted on:

Sunday 25th November 2012
View Replies!

ClassGraph widget - feedback needed

I wrote a Perl/Tk - Widget which displays graphical representations of inheritance-trees for Perl-classes. There are two additional modules to display all function/method-Names defined in a Class and its parents and to show the source code of that methods. ...
VIEWS ON THIS POST

261

Posted on:

Sunday 25th November 2012
View Replies!

I need your help

Hi , I need a script which opens an Excel file (.xls), reads some of cells from the first row and prints them on a sheet of paper. Then it should do the same for the second row and print ...
VIEWS ON THIS POST

344

Posted on:

Sunday 25th November 2012
View Replies!

Newbie needs basic help - JW69

I feel like I have made some real progress on a web site that I have been working on, but now I am stuck with some basic stuff that both makes me feel stupid and pisses me off. If I ...
VIEWS ON THIS POST

189

Posted on:

Sunday 25th November 2012
View Replies!

Perl newb in need of help with script.

So this is probably a simple thing I'm missing, but then I just started working with perl tonight - and of course I bought the Camel book, and conveniently left it at work on my desk where it does me ...
VIEWS ON THIS POST

185

Posted on:

Monday 26th November 2012
View Replies!

insight needed: any way to have Java run a perl script..

This is for a class assignment; all we have to do is make a XML-to-SQL converter with a GUI, which can run either on Win2k or Sun 8 systems (interchangably). My partner is writing the GUI in Java obviously, but ...
VIEWS ON THIS POST

199

Posted on:

Monday 26th November 2012
View Replies!

Re: newbie question about removing un needed extra lines

Scott Taylor wrote: > > I've just started learning perl, and had two questions. One, what is > the best way to open a text file and remove all of the empty lines > Example: > > a@a.com > b@b.com ...
VIEWS ON THIS POST

176

Posted on:

Monday 26th November 2012
View Replies!

how to remove parentheses from a line in a file - need help!

I have a line of text like this: m1 (d g s b) en (w=wdnfing l=l as=1e-20 ad=1e-20 ps=1e-20 pd=1e-20) I am reading-in the file in using $_ and I tried to do the following (without success): s/)//g; s/)//g; ...
VIEWS ON THIS POST

177

Posted on:

Monday 26th November 2012
View Replies!

Perl code explaination help needed!

Can someone explain to me what this line of perl is doing. /(\S*)\.C$/; it is used in this function @list = `ls *.C`; foreach (@list) { chop; /(\S*)\.C$/; rename("$1.C", "$1.cc") || die "Can't rename $1 !\n"; Thank you. EM...
VIEWS ON THIS POST

318

Posted on:

Monday 26th November 2012
View Replies!

need help with "SerialPort" module

I need to write a very simple RS232 script that sends a string (command) to my hardware, and receives the messages sent back for my hardware. I found the SerialPort_0.19 module However, I have not found much of documentation ...
VIEWS ON THIS POST

142

Posted on:

Monday 26th November 2012
View Replies!

Help needed programming a simple script

Any help appreciated on a small perl project I need to write for educator/teaching purposes. I have not programmed perl for some time, need to get up to speed, maybe some kind souls hrere will help me on this project ...
VIEWS ON THIS POST

172

Posted on:

Monday 26th November 2012
View Replies!