RE: Abbreviating ordinals only in the middle of an address

2013-01-28 Thread Wagner, David --- Sr Programmer Analyst --- CFS
>-Original Message- >From: Paul Anderson [mailto:wackyvor...@me.com] >Sent: Monday, January 28, 2013 13:32 >To: Angela Barone >Cc: beginners@perl.org >Subject: Re: Abbreviating ordinals only in the middle of an address > >I'm thinking {2,}\w to match two or more words after north. > >Sent f

Problems in Mail::Sender on sending a large attachment file

2012-12-04 Thread Wagner, David --- Sr Programmer Analyst --- CFS
I have used Mail::Sender for a number of years and I have had to move onto new VM for Processing. The Linux is Red Hat Enterprise Linux Server release 5.4 (Tikanga). Perl is v5.8.8 built for x86_64-linux-thread-multi Mail::Sender is 8.21 I am only sending

RE: how to print certain field out

2012-06-08 Thread Wagner, David --- Sr Programmer Analyst --- CFS
>-Original Message- >From: Chris Stinemetz [mailto:chrisstinem...@gmail.com] >Sent: Friday, June 08, 2012 14:58 >To: lina >Cc: beginners@perl.org >Subject: Re: how to print certain field out > >On Fri, Jun 8, 2012 at 11:44 AM, lina wrote: >> On Sat, Jun 9, 2012 at 12:16 AM, lina wrote: >>

Re: Use of SFTP::Foreign with backend processing and having problems ( not apparent within the code ) in getting remote SFTP to quit it's processes

2012-04-09 Thread Wagner, David --- Sr Programmer Analyst --- CFS
ng remote SFTP >to quit it's processes > >> >> >>""Wagner, David --- Sr Programmer Analyst --- CFS"" wrote in message >> >> >>I am running AS 5.10.1 on Windows XP SP3 and attempting to use >>sFTP within my processing communicati

Use of SFTP::Foreign with backend processing and having problems ( not apparent within the code ) in getting remote SFTP to quit it's processes

2012-04-06 Thread Wagner, David --- Sr Programmer Analyst --- CFS
I am running AS 5.10.1 on Windows XP SP3 and attempting to use sFTP within my processing communicating to MVS/IBM. What I am trying to do is to do so many gets, then undef the variable and re-login and to continue on to end of processing. I did this with the FTP processing and nev

RE: POSIX

2012-03-21 Thread Wagner, David --- Sr Programmer Analyst --- CFS
>-Original Message- >From: Chris Stinemetz [mailto:chrisstinem...@gmail.com] >Sent: Wednesday, March 21, 2012 15:14 >To: beginners@perl.org >Subject: POSIX > >Is there a way to take localtime less two hours? So there is an offset of >2? > >example line: > >my $file = sprintf("$dirPath%s00.H

RE: search and replace with an array

2012-02-20 Thread Wagner, David --- Sr Programmer Analyst --- CFS
>-Original Message- >From: Chris Stinemetz [mailto:chrisstinem...@gmail.com] >Sent: Monday, February 20, 2012 13:51 >To: beginners@perl.org >Subject: Re: search and replace with an array > >Looks like I was able to figure it out with the below: > >But how do I remove all the blank lines? >

SFTP from Windows and Unix/Linux pulling files from IBM/MVS?

2012-02-17 Thread Wagner, David --- Sr Programmer Analyst --- CFS
I need to make changes from FTP processing to SFTP processing. Has anyone tried to do this? If so, what did you try? I can connect under XP using SFTP::Foreign, but I end up in the Linux/Unix portion of the MVS and not where I expected to be. I have tried to load Net::SFTP, but

RE: Implementation of sFTP using Perl

2012-01-12 Thread Wagner, David --- Sr Programmer Analyst --- CFS
From: Spectroman [mailto:spectro...@yahoo.com] Sent: Thursday, January 12, 2012 11:51 To: Wagner, David --- Sr Programmer Analyst --- CFS Subject: Re: Implementation of sFTP using Perl Hi David, Never really used, but seems quite straightforward, as stated in the synopsis: use Net::SFTP

RE: Implementation of sFTP using Perl

2012-01-12 Thread Wagner, David --- Sr Programmer Analyst --- CFS
From: Spectroman [mailto:spectro...@yahoo.com] Sent: Thursday, January 12, 2012 10:33 To: Wagner, David --- Sr Programmer Analyst --- CFS Subject: Re: Implementation of sFTP using Perl http://search.cpan.org/dist/Net-SFTP/ So have you used Net-SFTP? I have looked through cpan, but

Implementation of sFTP using Perl

2012-01-12 Thread Wagner, David --- Sr Programmer Analyst --- CFS
I need to change from FTP to sFTP and want to use a Perl implementation verses using sFTP application bound within Perl scripts. I will be running from Linux and pulling data either from MVS or Windows box or servers. Uncertain how to proceed? Will attempt to use A

RE: Capitalizing Acronyms

2011-09-08 Thread Wagner, David --- Sr Programmer Analyst --- CFS
>-Original Message- >From: Marc [mailto:sono...@fannullone.us] >Sent: Thursday, September 08, 2011 9:58 >To: Perl Beginners >Subject: Capitalizing Acronyms > > > I'm trying to capitalize 3 and 4 letter words that contain only >vowels or consonants, but not both. The code I've come up

RE: Sorting a String

2011-08-17 Thread Wagner, David --- Sr Programmer Analyst --- CFS
>-Original Message- >From: Matt [mailto:lm7...@gmail.com] >Sent: Tuesday, August 16, 2011 10:04 >To: beginners@perl.org >Subject: Sorting a String > >I believe you can sort an array like so: > >sort @my_array; > >I need to sort a string though. > >I have $a_string that contains: > >4565 lin

Regular Expression change

2011-07-16 Thread Wagner, David --- Sr Programmer Analyst --- CFS
I have the following map: map{[$_,(/^\d/ ? 1 : 0) . /^([^;]+)/, /[^;]+;[^;]*;[^;]+;[^;]+;([^;]+);/]} I had a failure during the night because some data field(s) had a semi-colon in the data. So what I have is a pre-defined data separator that would not nor

RE: Verifying an e-mail address

2011-06-29 Thread Wagner, David --- Sr Programmer Analyst --- CFS
>-Original Message- >From: sono...@fannullone.us [mailto:sono...@fannullone.us] >Sent: Monday, June 27, 2011 13:15 >To: Jim Gibson >Cc: Perl Beginners >Subject: Re: Verifying an e-mail address > >On Jun 27, 2011, at 12:04 PM, Jim Gibson wrote: > >> 'perldoc -q address' "How do I check a va

RE: if else elsif

2011-03-17 Thread Wagner, David --- Senior Programmer Analyst --- CFS
>-Original Message- >From: Chris Stinemetz [mailto:cstinem...@cricketcommunications.com] >Sent: Thursday, March 17, 2011 14:16 >To: beginners >Subject: if else elsif > >I am trying to return new values based on if else. I understand the idea of >using if else, but I am not sure I have place

RE: Testing File Contents

2011-03-02 Thread Wagner, David --- Senior Programmer Analyst --- CFS
>-Original Message- >From: Matt [mailto:lm7...@gmail.com] >Sent: Wednesday, March 02, 2011 11:25 >To: beginners@perl.org >Subject: Re: Testing File Contents > >> # Untested >> use strict; >> use warnings; >> open my $fh, '<', my_file; >> while(<$fh>){ >>     if ($_ !~ /my_string/) { >>     

RE: Getting LineFeed for Excel within q quoted field

2011-01-07 Thread Wagner, David --- Senior Programmer Analyst --- CFS
>-Original Message- >From: Rob Dixon [mailto:rob.di...@gmx.com] >Sent: Thursday, January 06, 2011 21:49 >To: David Wagner >Cc: beginners@perl.org >Subject: Re: Getting LineFeed for Excel within q quoted field > >At 11:55 -0600 06/01/2011, David Wagner wrote: >> >> For something that should

RE: Getting LineFeed for Excel within q quoted field

2011-01-07 Thread Wagner, David --- Senior Programmer Analyst --- CFS
>-Original Message- >From: John Delacour [mailto:johndelac...@gmail.com] >Sent: Thursday, January 06, 2011 11:33 >To: beginners@perl.org >Subject: RE: Getting LineFeed for Excel within q quoted field > >At 11:55 -0600 06/01/2011, David Waner wrote: > >> >From: John Delacour [mailto:johndel

RE: Getting LineFeed for Excel within q quoted field

2011-01-07 Thread Wagner, David --- Senior Programmer Analyst --- CFS
>-Original Message- >From: John Delacour [mailto:johndelac...@gmail.com] >Sent: Wednesday, January 05, 2011 18:32 >To: Perl Beginners >Subject: Re: Getting LineFeed for Excel within q quoted field > >At 17:56 -0600 04/01/2011, Wagner, David wrote: > > >>

RE: Getting LineFeed for Excel within q quoted field

2011-01-06 Thread Wagner, David --- Senior Programmer Analyst --- CFS
>-Original Message- >From: Parag Kalra [mailto:paragka...@gmail.com] >Sent: Wednesday, January 05, 2011 12:13 >To: Wagner, David --- Senior Programmer Analyst --- CFS >Cc: Perl Beginners >Subject: Re: Getting LineFeed for Excel within q quoted field > >It may have

RE: Getting LineFeed for Excel within q quoted field

2011-01-06 Thread Wagner, David --- Senior Programmer Analyst --- CFS
Original Message- >From: Parag Kalra [mailto:paragka...@gmail.com] >Sent: Wednesday, January 05, 2011 16:42 >To: Wagner, David --- Senior Programmer Analyst --- CFS >Cc: Perl Beginners >Subject: Re: Getting LineFeed for Excel within q quoted field > >Ok. > >May b

Getting LineFeed for Excel within q quoted field

2011-01-05 Thread Wagner, David --- Senior Programmer Analyst --- CFS
I am generating an CSV and want a couple of fields to have soft returns in them. I went into Excel and added a couple of soft returns to a couple of different fields and then saved the modified file back to a CSV. I opened in a editor and reviewed what was there. What I saw was: "xx

RE: glob files and subdirectories

2010-12-08 Thread Wagner, David --- Senior Programmer Analyst --- CFS
>-Original Message- >From: Noah [mailto:noah-l...@enabled.com] >Sent: Wednesday, December 08, 2010 12:42 >To: Perl Beginners >Subject: glob files and subdirectories > >Hi there, > >what is the easiest way to get all the filenames like *html in the root >directory and all subdirectories? > >

RE: Word boundaries

2010-07-21 Thread Wagner, David --- Senior Programmer Analyst --- CFS
>-Original Message- >From: John W. Krahn [mailto:jwkr...@shaw.ca] >Sent: Tuesday, July 20, 2010 15:06 >To: Perl Beginners >Subject: Re: Word boundaries > >Rob Dixon wrote: >> On 20/07/2010 16:22, Chandan Kumar wrote: >>> >>> Small confusion about word boundaries. word boundaries matches >>>

RE: XML Parser Error

2010-04-16 Thread Wagner, David --- Senior Programmer Analyst --- CFS
>-Original Message- >From: Open Source [mailto:open.sou...@gmx.com] >Sent: Thursday, April 15, 2010 11:41 >To: Beginners, Perl >Subject: XML Parser Error > >I'm getting this error: > >Undefined subroutine &XML::Simple::XMLin called at ./sample.pl line 3. > >Here's my code and input file: >

RE: being smart about script structure

2009-12-12 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Bryan R Harris [mailto:bryan_r_har...@raytheon.com] > Sent: Friday, December 11, 2009 15:10 > To: Beginners Perl > Subject: Re: being smart about script structure > > > > > >> Seems like a waste to do step 2 in a subroutine since we > only do it once, > >>

RE: Is it necessary to open the file again to read its contents.

2009-11-18 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Shawn H Corey [mailto:shawnhco...@gmail.com] > Sent: Tuesday, November 17, 2009 11:03 > To: Parag Kalra > Cc: Perl Beginners > Subject: Re: Is it necessary to open the file again to read > its contents. > > Parag Kalra wrote: > > Can't this again closing and

RE: printf

2009-10-28 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Aimee Cardenas [mailto:aim...@sfbrgenetics.org] > Sent: Tuesday, October 27, 2009 15:53 > To: Perl Beginners > Subject: printf > > Hi, All! > > I need to fix the width of some strings padding with leading > spaces if > necessary. I wanted to use printf bu

Building a fmt line for printf with a carriage return

2009-10-23 Thread Wagner, David --- Senior Programmer Analyst --- CFS
I thought I had done this before, but I guess not. I build a formt line for printf like: q[%-3s%-4s%5s%6s]; But I want to insert a carriage return after say %-4s( I have a nubmer of fields and depending on the size, it is not a constant after column 2, but could b

RE: match pattern

2009-09-19 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: raphael() [mailto:raphael.j...@gmail.com] > Sent: Friday, September 18, 2009 10:40 > To: Perl BEGIN > Subject: match pattern > > Hi > > How do I pick out matching words if there are more than one > on the same > line? > > > Example > > INFILE.TXT > > www

RE: Printing a hash of hashes of arrays

2009-08-28 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Ian [mailto:pcs...@gmail.com] > Sent: Thursday, August 27, 2009 11:43 > To: beginners@perl.org > Subject: Printing a hash of hashes of arrays > > Pure beginners question. > > I'm creating a hash of arrays like this : > > $ihash{$3}{$1} = [...@itab]; > > For

RE: one liner in Windows to replace string

2009-08-25 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Shawn H. Corey [mailto:shawnhco...@gmail.com] > Sent: Monday, August 24, 2009 11:57 > To: Wagner, David --- Senior Programmer Analyst --- CFS > Cc: Tony Esposito; Beginners Perl > Subject: Re: one liner in Windows to replace string

RE: one liner in Windows to replace string

2009-08-25 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Shawn H. Corey [mailto:shawnhco...@gmail.com] > Sent: Monday, August 24, 2009 11:00 > To: Tony Esposito > Cc: Beginners Perl > Subject: Re: one liner in Windows to replace string > > Tony Esposito wrote: > > perl -p -i.bak -e 's/CONSTANT/VARIABLE/' C:\test.txt

RE: one liner in Windows to replace string

2009-08-25 Thread Wagner, David --- Senior Programmer Analyst --- CFS
From: Tony Esposito [mailto:tony1234567...@yahoo.co.uk] Sent: Monday, August 24, 2009 14:09 To: Shawn H. Corey Cc: Wagner, David --- Senior Programmer Analyst --- CFS; Beginners Perl Subject: Re: one liner in Windows to

RE: one liner in Windows to replace string

2009-08-25 Thread Wagner, David --- Senior Programmer Analyst --- CFS
From: Tony Esposito [mailto:tony1234567...@yahoo.co.uk] Sent: Monday, August 24, 2009 13:20 To: Shawn H. Corey; Wagner, David --- Senior Programmer Analyst --- CFS Cc: Beginners Perl Subject: Re: one liner in Windows to

RE: one liner in Windows to replace string

2009-08-25 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Tony Esposito [mailto:tony1234567...@yahoo.co.uk] > Sent: Monday, August 24, 2009 10:46 > To: Beginners Perl > Cc: tony1234567...@yahoo.co.uk > Subject: one liner in Windows to replace string > > perl -p -i.bak -e 's/CONSTANT/VARIABLE/' C:\test.txt >

RE: script to compare dates

2009-08-18 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Mihir Kamdar [mailto:kamdarmihi...@gmail.com] > Sent: Tuesday, August 18, 2009 08:55 > To: Steve Bertrand > Cc: beginners > Subject: Re: script to compare dates > > I dont have Datetime module installed. Is there a way without using > DateTime?? > You

RE: Automating the resetting of Power Options

2009-08-06 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Kevin Safford [mailto:saffo...@uk.ibm.com] > Sent: Monday, August 03, 2009 04:37 > To: beginners@perl.org > Subject: Re: Automating the resetting of Power Options > > "Wagner, David --- Senior Programmer Analyst --- CFS" wrote:

Automating the resetting of Power Options

2009-07-28 Thread Wagner, David --- Senior Programmer Analyst --- CFS
Whenever I have to reboot ( Windows XP Sp2 ), which I try to keep to a minimum, it resets the power options. I have no control of that, but I can also go in a set to what I want it to be. Unfortunately I get side tracked at times after a re-boot and next thing I am at home and when I try

RE: Reading a list of numbers into an array

2009-07-22 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Emanuele Osimo [mailto:e.os...@gmail.com] > Sent: Wednesday, July 22, 2009 15:47 > To: beginners perl ml > Subject: Reading a list of numbers into an array > > Hello there, I'd like to read a file thet is a list of numbers like: > 3084 > 4855 > 2904 > making e

RE: Having problems getting data back to STDOUT once I assign it to a file

2009-07-22 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Patrick K Christopher TANAGER > [mailto:pchristop...@tanagerinc.com] > Sent: Tuesday, July 21, 2009 11:04 > To: Wagner, David --- Senior Programmer Analyst --- CFS; Tony > Esposito; beginners@perl.org > Subject: RE: Having problems

RE: Having problems getting data back to STDOUT once I assign it to a file

2009-07-21 Thread Wagner, David --- Senior Programmer Analyst --- CFS
Krahn > To: > Sent: Tuesday, 21 July, 2009 8:41:25 > Subject: Re: Having problems getting data back to STDOUT once > I assign it to a file > > Shawn H. Corey wrote: > > John W. Krahn wrote: > >> Shawn H. Corey wrote: > >>> Wagner,

Having problems getting data back to STDOUT once I assign it to a file

2009-07-21 Thread Wagner, David --- Senior Programmer Analyst --- CFS
I am done processing and I want to place the final output line also on the screen. Here is what I have: if ( $GlblInfo{audit} ) { printf "\n\n*Should be last line in the audittrail file...*\n\n"; close(STDOUT); close(STDERR); open(STDOUT , '>')

RE: While issues

2009-07-16 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Patrick K Christopher TANAGER > [mailto:pchristop...@tanagerinc.com] > Sent: Thursday, July 16, 2009 11:39 > To: beginners@perl.org > Subject: While issues > > I can't seem to find this oddness in this script. > #! /usr/bin/perl You should use strict

RE: word substitute with character count.

2009-06-19 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Nisse Tuta [mailto:nisset...@gmail.com] > Sent: Thursday, June 18, 2009 15:12 > To: beginners@perl.org > Subject: word substitute with character count. > > Hi all, > > I'm having a problem solving this one. > > I need to replace/substitute a word in a text f

RE: Please, I need help!!!

2009-06-13 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Phillip [mailto:fibbe...@gmx.net] > Sent: Thursday, June 11, 2009 12:00 > To: beginners@perl.org > Subject: Please, I need help!!! > > Hallo @ all, > > i am new in this domain(perlscript) and i have a question.i have a > array,i sort it,i get the last eleme

RE: split() does not work with all characters

2009-06-03 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Tony Esposito [mailto:tony1234567...@yahoo.co.uk] > Sent: Tuesday, June 02, 2009 15:29 > To: Beginners Perl > Subject: split() does not work with all characters > > When trying to use split() where the delimiter is passed from > the command-line ( as seen in

RE: skipping a repeated header

2009-05-27 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Kirk Wythers [mailto:kwyth...@umn.edu] > Sent: Wednesday, May 27, 2009 10:16 > To: Wagner, David --- Senior Programmer Analyst --- CFS > Cc: beginners@perl.org > Subject: Re: skipping a repeated header > > Thanks David. I didn'

RE: skipping a repeated header

2009-05-27 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Kirk Wythers [mailto:kwyth...@umn.edu] > Sent: Wednesday, May 27, 2009 09:31 > To: beginners@perl.org > Subject: skipping a repeated header > > I have a large datafile that I am trying to read into a postgresql > database. I think I have the db_connect stuff

RE: deleting subdirectories only in Win32

2009-05-15 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Tony Esposito [mailto:tony1234567...@yahoo.co.uk] > Sent: Thursday, May 14, 2009 12:02 > To: beginners@perl.org > Subject: Fw: deleting subdirectories only in Win32 > > It appears that, after doing more research, the keep_root > variable does not keep the \da

How to Extract to a flat file thru Excel an Access DB file

2009-05-09 Thread Wagner, David --- Senior Programmer Analyst --- CFS
I have an Excel file that I am copying from a Windows server to Linux box(initially). I then extract each worksheet to their own csv. Within the Excel is detail that is contained within a Access DB. I am getting the necessary worksheets out ok, but am unsure how or if one can extract to

RE: Perl code for comparing two files

2009-05-09 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Anirban Adhikary [mailto:anirban.adhik...@gmail.com] > Sent: Monday, May 04, 2009 06:40 > To: beginners@perl.org > Subject: Perl code for comparing two files > > Hi List > I am writing a perl code which will takes 2 more files as > argument. Then It > will ch

RE: Re: Perl code for comparing two files

2009-05-09 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: news [mailto:n...@ger.gmane.org] On Behalf Of Richard Loveland > Sent: Friday, May 08, 2009 11:59 > To: beginners@perl.org > Subject: Re: Perl code for comparing two files > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Mr. Adhikary, > > The following

RE: String manipulation question

2009-04-22 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Grant [mailto:emailgr...@gmail.com] > Sent: Tuesday, April 21, 2009 12:55 > To: Perl Beginners List > Subject: Re: String manipulation question > > >> >> >> Thanks guys.  With some help I've come up with this: > >> >> >> > >> >> >> $string = 'abc def ghi jkl

RE: String manipulation question

2009-04-22 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Grant [mailto:emailgr...@gmail.com] > Sent: Tuesday, April 21, 2009 12:43 > To: Perl Beginners List > Subject: Re: String manipulation question > > >> >> Thanks guys.  With some help I've come up with this: > >> >> > >> >> $string = 'abc def ghi jkl mno pqr st

RE: String manipulation question

2009-04-22 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Grant [mailto:emailgr...@gmail.com] > Sent: Tuesday, April 21, 2009 12:16 > To: Perl Beginners List > Subject: Re: String manipulation question > > >> Thanks guys.  With some help I've come up with this: > >> > >> $string = 'abc def ghi jkl mno pqr stu vwx yz'

RE: String manipulation question

2009-04-22 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Grant [mailto:emailgr...@gmail.com] > Sent: Tuesday, April 21, 2009 11:47 > To: Perl Beginners List > Subject: Re: String manipulation question > > >> I'd like to take a string and manipulate it in a few ways. > >> > >> If the string is 34 characters or less,

RE: String manipulation question

2009-04-22 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Grant [mailto:emailgr...@gmail.com] > Sent: Tuesday, April 21, 2009 09:58 > To: Perl Beginners List > Subject: String manipulation question > > I'd like to take a string and manipulate it in a few ways. > > If the string is 34 characters or less, I'd like to

Generating emails for BlackBerry

2009-04-21 Thread Wagner, David --- Senior Programmer Analyst --- CFS
I have a number of emails I do for upper management, but the majority of them travel and live off their BlackBerry. I am attempting to think out how to present the data to them so that it lines up ( or at least attempts to line up) for easier reading. I would still send the original emai

RE: help needed to get over endless loop

2009-04-17 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Brian [mailto:brian5432...@yahoo.co.uk] > Sent: Friday, April 17, 2009 11:03 > To: Perl Beginners > Subject: help needed to get over endless loop > > Hi > I had this semi-working, changed something and can't remember where I > went right, so would appreciate

RE: Replace string with list of strings via character changes

2009-04-10 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Kelly Jones [mailto:kelly.terry.jo...@gmail.com] > Sent: Friday, April 10, 2009 13:33 > To: beginners@perl.org > Subject: Replace string with list of strings via character changes > > I want to replace all the o's in a string with x's or y's and all the > a's

RE: Looking for a quick, easy way to time system process to the sub-second

2009-04-10 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Dan Huston [mailto:dan.hus...@domail.maricopa.edu] > Sent: Friday, April 10, 2009 11:24 > To: beginners@perl.org > Subject: Looking for a quick, easy way to time system process > to the sub-second > > Greetings All: > > I have a script that I am using to run

Converting an XML doc ( xls format ) to CSV

2009-04-01 Thread Wagner, David --- Senior Programmer Analyst --- CFS
I have two files which are xml based and double clickable into Excel. I would like to get the data into a CSV, but when I try to read using use Spreadsheet::ParseExcel; I get no ouput and no errors. I looked at XML::Simple and followed the example they had but it generates seve

RE: Network Printing using a Perl Script

2009-03-12 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Aglipay, Recelyn [mailto:recelyn.agli...@ehmc.com] > Sent: Thursday, March 12, 2009 07:19 > To: Wagner, David --- Senior Programmer Analyst --- CFS; > beginners@perl.org > Subject: RE: Network Printing using a Perl Script > > Hi Dave

RE: Network Printing using a Perl Script

2009-03-11 Thread Wagner, David --- Senior Programmer Analyst --- CFS
-Original Message- > From: Aglipay, Recelyn [mailto:recelyn.agli...@ehmc.com] > Sent: Wednesday, March 11, 2009 15:35 > To: beginners@perl.org > Subject: Network Printing using a Perl Script > > Hello everyone, > > > > I'm a beginner and having some issues with a Perl Script I had wr

RE: Printing directory sizes

2009-03-04 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: lauri.nikki...@gmail.com > [mailto:lauri.nikki...@gmail.com] On Behalf Of Lauri Nikkinen > Sent: Tuesday, March 03, 2009 11:38 > To: Perl Beginners > Subject: Printing directory sizes > > Hi, > > I'm trying to print directory sizes using script from > > http

RE: Printing directory sizes

2009-03-04 Thread Wagner, David --- Senior Programmer Analyst --- CFS
From: lauri.nikki...@gmail.com [mailto:lauri.nikki...@gmail.com] On Behalf Of Lauri Nikkinen Sent: Tuesday, March 03, 2009 13:00 To: Chas. Owens Cc: Wagner, David --- Senior Programmer Analyst --- CFS; Perl Beginners

RE: Printing directory sizes

2009-03-04 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: lauri.nikki...@gmail.com > [mailto:lauri.nikki...@gmail.com] On Behalf Of Lauri Nikkinen > Sent: Tuesday, March 03, 2009 12:10 > To: Wagner, David --- Senior Programmer Analyst --- CFS > Cc: Perl Beginners > Subject: Re: Printing direct

RE: calling a program from a perl script and redirecting to output to a file

2009-02-19 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Thomas Evangelidis [mailto:teva...@gmail.com] > Sent: Thursday, February 19, 2009 08:27 > To: beginners@perl.org > Subject: calling a program from a perl script and redirecting > to output to a file > > Dear Perl programmers, > > I want to run a program from

RE: calling a program from a perl script and redirecting to output to a file

2009-02-19 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Thomas Evangelidis [mailto:teva...@gmail.com] > Sent: Thursday, February 19, 2009 09:12 > To: Wagner, David --- Senior Programmer Analyst --- CFS > Cc: beginners@perl.org > Subject: Re: calling a program from a perl script and > redir

Delay in sending email via Perl

2009-02-05 Thread Wagner, David --- Senior Programmer Analyst --- CFS
Within Outlook, one can create an email and then not send it until a date and time has been met. Can this also be done via Perl and either Sendmail or Sender? I looked at the doc and did not see anything about delay of sending. Found delay on retires, etc., but nothing on delay in actual

RE: Loading results of pattern match into an array - help please

2009-01-24 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: jeffqt...@gmail.com [mailto:jeffqt...@gmail.com] > Sent: Friday, January 23, 2009 12:58 > To: beginners@perl.org > Subject: Loading results of pattern match into an array - help please > > I am trying to split a very long fixed lenght record into its > constit

RE: Warning that I am receiving. but not making any sense

2008-11-26 Thread Wagner, David --- Senior Programmer Analyst --- WGO
> -Original Message- > From: Rob Dixon [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 25, 2008 5:04 PM > To: Perl Beginners > Cc: Wagner, David --- Senior Programmer Analyst --- WGO > Subject: Re: Warning that I am receiving. but not making any sense > >

RE: Warning that I am receiving. but not making any sense

2008-11-25 Thread Wagner, David --- Senior Programmer Analyst --- WGO
> -Original Message- > From: Rob Dixon [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 25, 2008 11:46 AM > To: Perl Beginners > Cc: Wagner, David --- Senior Programmer Analyst --- WGO > Subject: Re: Warning that I am receiving. but not making any sense > >

Warning that I am receiving. but not making any sense

2008-11-25 Thread Wagner, David --- Senior Programmer Analyst --- WGO
I get the following printed out on my terminal: pl517c.pl: Gen Rpt/Email St: 08:38:48 Attempt to free unreferenced scalar: SV 0x2063c74, Perl interpreter: 0x22424c at C:\CurrWrka\00COMM~3\pl517c.pl line 1259. Attempt to free unreferenced scalar: SV 0x206984c, Perl interpreter: 0x22424c at

Attempting to use SFTP between Windows and Linux box

2008-11-21 Thread Wagner, David --- Senior Programmer Analyst --- WGO
I have a couple of processes that run one on a production box and another on a test box. The production box script checks that a particular file is never more than 40 minutes old while on the test box, this checks that the actual polling processes ( in this case three pollers ) also are

RE: Cron environment for execution of Perl script

2008-11-09 Thread Wagner, David --- Senior Programmer Analyst --- WGO
> -Original Message- > From: Telemachus [mailto:[EMAIL PROTECTED] > Sent: Saturday, November 08, 2008 6:13 AM > To: beginners@perl.org > Subject: Re: Cron environment for execution of Perl script > > On Thu Nov 06 2008 @ 3:42, Wagner, David --- Senior > Programm

RE: Cron environment for execution of Perl script

2008-11-09 Thread Wagner, David --- Senior Programmer Analyst --- WGO
> -Original Message- > From: Chas. Owens [mailto:[EMAIL PROTECTED] > Sent: Saturday, November 08, 2008 10:14 AM > To: Wagner, David --- Senior Programmer Analyst --- WGO > Cc: Perl Beginners > Subject: Re: Cron environment for execution of Perl script > > On T

Cron environment for execution of Perl script

2008-11-08 Thread Wagner, David --- Senior Programmer Analyst --- WGO
I need an environment variable from my .profile on Solaris and having troubles getting at it. I have a Perl script which executes fine outside of cron and now am trying to do via cron. I wanted to stay away from a shell script and was wondering what is the easiest way to get my .profile

Changing from FTP to Secure copy

2008-10-21 Thread Wagner, David --- Senior Programmer Analyst --- WGO
I am in the middle of moving from Solaris to Linux environment. On the current Solaris box, I use Net::FTP for all the work that needs to be done. On Linux, the ftp is not available, due to security concerns. The Linux environment had Perl at 5.8.0 and so I got the okay to bring down AS

RE: matching lines in array - other ways to code

2008-09-10 Thread Wagner, David --- Senior Programmer Analyst --- WGO
> -Original Message- > From: Noah [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 10, 2008 16:28 > To: Perl Beginners > Subject: matching lines in array - other ways to code > > Hi there, > > could somebody please suggest some other ways to simplify the reading > and perhaps make

RE: store first key of a hash to scalar

2008-09-10 Thread Wagner, David --- Senior Programmer Analyst --- WGO
> -Original Message- > From: Noah [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 10, 2008 13:23 > To: John W. Krahn > Cc: Perl Beginners > Subject: Re: store first key of a hash to scalar > > okay that basically answers my question. I will have to > figure out to > define a ke

RE: store first key of a hash to scalar

2008-09-10 Thread Wagner, David --- Senior Programmer Analyst --- WGO
> -Original Message- > From: Noah [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 10, 2008 13:10 > To: Perl Beginners > Subject: store first key of a hash to scalar > > Hi there, > > What is the easiest way to store the first key of a hash to a scalar > variable? > Perl

RE: comparing text files, in a way

2008-09-08 Thread Wagner, David --- Senior Programmer Analyst --- WGO
> -Original Message- > From: frazzmata [mailto:[EMAIL PROTECTED] > Sent: Monday, September 08, 2008 10:13 > To: beginners@perl.org > Subject: comparing text files, in a way > > I am writing a program where I want to be able to locate information > regarding a person in one file, if they a

RE: matching ' in regx

2008-08-26 Thread Wagner, David --- Senior Programmer Analyst --- WGO
From: Dan Baker [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2008 17:00 To: beginners@perl.org Subject: matching ' in regx I have a thing driving me NUTS trying to detect a ' in a variable with regex, and either strip it out or at least detect and error out. for instance, this just d

Problems w/ MVS::JESFTP.pm

2008-07-30 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Running the following script: my $MyJES = MVS::JESFTP->open($MyHost, $MyLogonId, $MyPw) or die; printf "open to MVS completed w/o error\n"; if ( ! defined $MyJES->submit($MyJob) ) {; #$job is the absolute name of a valid jcl file printf "Problem with submission of job\n<$MyJob>\n";

RE: Reg. Directory listing program

2008-06-04 Thread Wagner, David --- Senior Programmer Analyst --- WGO
> -Original Message- > From: Wagner, David --- Senior Programmer Analyst --- WGO > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 04, 2008 11:08 > To: Gunwant Singh; beginners@perl.org > Subject: RE: Reg. Directory listing program > > > -Original Mes

RE: Reg. Directory listing program

2008-06-04 Thread Wagner, David --- Senior Programmer Analyst --- WGO
> -Original Message- > From: Gunwant Singh [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 04, 2008 10:02 > To: beginners@perl.org > Subject: Reg. Directory listing program > > Hi, > > I am new to this mailing list and I am very new to PERL. So, > please bear > with me for my question

RE: hash

2008-05-22 Thread Wagner, David --- Senior Programmer Analyst --- WGO
> -Original Message- > From: Bobby [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 22, 2008 12:33 > To: Rob Dixon; beginners@perl.org > Cc: Bobby > Subject: Re: hash > > Rob, > > Yes the pids are unique. > > I've tried the comparison below but didn't worked, so what do > you think is

RE: How do I find the key of a specific hash element?

2008-05-19 Thread Wagner, David --- Senior Programmer Analyst --- WGO
> -Original Message- > From: jshock [mailto:[EMAIL PROTECTED] > Sent: Monday, May 19, 2008 07:20 > To: beginners@perl.org > Subject: How do I find the key of a specific hash element? > > For example: > > my %weekdays = ( > 0 => "SUN", > 1 => "MON", > 2 => "TUE", >

RE: problem using backslash on brackets in regular expressions

2008-04-22 Thread Wagner, David --- Senior Programmer Analyst --- WGO
> -Original Message- > From: Daniel McClory [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 22, 2008 16:06 > To: beginners@perl.org > Subject: problem using backslash on brackets in regular expressions > > Hi, > > I have files which contain sentences, where some lines have extra > inf

RE: CSV duplicate

2008-04-16 Thread Wagner, David --- Senior Programmer Analyst --- WGO
> -Original Message- > From: Manoj [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 16, 2008 12:00 > To: 'Perl Beginners' > Subject: CSV duplicate > > Hello List, > > > > Scenario: > > CSV file > > Host=Nirus,TCPIP,inxcp011,connected,Serv=rxmcpp1 > > Host=Nirus,TCPIP,inxcp011,co

RE: Example of FTP w/o Input file? Is it possible to do or not?

2008-04-10 Thread Wagner, David --- Senior Programmer Analyst --- WGO
> -Original Message- > From: Chas. Owens [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 09, 2008 13:05 > To: Wagner, David --- Senior Programmer Analyst --- WGO > Cc: beginners@perl.org > Subject: Re: Example of FTP w/o Input file? Is it possible to > do or no

RE: Example of FTP w/o Input file? Is it possible to do or not?

2008-04-09 Thread Wagner, David --- Senior Programmer Analyst --- WGO
> -Original Message- > From: Chas. Owens [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 09, 2008 12:33 > To: Wagner, David --- Senior Programmer Analyst --- WGO > Cc: beginners@perl.org > Subject: Re: Example of FTP w/o Input file? Is it possible to > do or no

Example of FTP w/o Input file? Is it possible to do or not?

2008-04-09 Thread Wagner, David --- Senior Programmer Analyst --- WGO
I have a hash which contains for each entry the email which I need to ftp to a particular location with a specified name. I could write out the file and then do the ftp. But since I have the necessary data in an audittrail report, I was wondering if I can ftp from a variable using ftp comma

RE: Looking for example of how to keep an FTP processing running if the Ip Address is down or unavailable

2008-03-24 Thread Wagner, David --- Senior Programmer Analyst --- WGO
> -Original Message- > From: Chas. Owens [mailto:[EMAIL PROTECTED] > Sent: Monday, March 24, 2008 11:42 > To: Wagner, David --- Senior Programmer Analyst --- WGO > Cc: Perl Beginners > Subject: Re: Looking for example of how to keep an FTP > processing running if t

Looking for example of how to keep an FTP processing running if the Ip Address is down or unavailable

2008-03-24 Thread Wagner, David --- Senior Programmer Analyst --- WGO
I have a polling process that runs 24x7 ( internal site ) and for the most part has no problems except that they shutdown the the internal site every three or four weeks and my process then dies. I have a simple setup: $MyFtp = Net::FTP->new($GlblInfo{ipaddr}, Debug => 1); $MyFtp

RE: lstat and its uses

2008-02-11 Thread Wagner, David --- Senior Programmer Analyst --- WGO
> -Original Message- > From: Kashif Salman [mailto:[EMAIL PROTECTED] > Sent: Monday, February 11, 2008 15:24 > To: David Moreno > Cc: John W. Krahn; Perl Beginners > Subject: Re: lstat and its uses > > I am not sure how to bring it up using the perldoc, I read it when I > was going throug

RE: lstat and its uses

2008-02-11 Thread Wagner, David --- Senior Programmer Analyst --- WGO
> -Original Message- > From: Chas. Owens [mailto:[EMAIL PROTECTED] > Sent: Monday, February 11, 2008 13:21 > To: Michael Barnes > Cc: beginners@perl.org > Subject: Re: lstat and its uses > > On Feb 11, 2008 4:17 PM, Michael Barnes <[EMAIL PROTECTED]> wrote: > > I thought about using lstat

  1   2   3   4   5   6   7   8   9   >