[Perl-unix-users] Regular Expression Question

2006-03-03 Thread Jason Vincent
Title: Regular Expression Question If I have a pattern that appears mulitple times (but I don't know how many times) in a string, how do I get at the matched text for each of the matches? Made up example… $string = 'ab23cdefgXX(3A5)XXhijkl23mnXX(3)XXopq432rsXX(450b)XXtuv'; If ($string =

[Perl-unix-users] Catching error from MIME::Lite

2005-10-26 Thread Jason Vincent
Title: Catching error from MIME::Lite Hello,     I am sending html formatted email using MIME::Lite.  I am looking for a way of providing backup smtp mail servers to the send function in case the specified smtp server is not available.  However, if the smtp server supplied is not valid

[Perl-unix-users] Rlogin script - anyone? anyone?

2005-05-10 Thread Jason Vincent
Title: Rlogin script - anyone? anyone? I am having no luck finding an example of a perl script that uses rlogin.  I tried Net::Telnet and just changed the port 513 but that didn't seem to work.  Does anyone have any advice on a module for rlogin or some way to make another module work for rlog

RE: [Perl-unix-users] How to append specified files into a big fi le

2004-07-20 Thread Jason Vincent
Title: Message     @files = ( 'Meas.atl00.1040.0710, 'Meas.atl00.1040.0711', 'Meas.atl00.1040.0712', 'Meas.atl00.1040.0713', 'Meas.atl00.1040.0714', 'Meas.atl00.1040.0715', 'Meas.atl00.1040.0716');   open (OUT, '>>bigfile.txt')||die $!;   foreach (@files){     open (IN, "$_")|| die $!;     wh

RE: [Perl-unix-users] Index of array element

2003-12-03 Thread Jason Vincent
Title: RE: [Perl-unix-users] Index of array element @array = ('a','b','c'); for($i=0;$i<=$#array;$i++){     print "index is $i\n" if $array[$i] eq 'b'; } J -Original Message- From: Craig Sharp [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 03, 2003 10:00 AM To: [EMAIL