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

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: 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

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

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: 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

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

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: 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? >

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

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: 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

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: >>

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: 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