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