while(<>){
@arr =split(" ",$_);
$arr[2] =~s/\%//g; ## I am not sure whether % is a meta
## character or not. If it is not a meta character, just remove the "\"
}
I am also a perl beginner.
Thank you & best regards,
ABC
-----Original Message-----
From: Ruben Montes [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 5:21 PM
To: '[EMAIL PROTECTED]'
Subject: Pattern matching
Hello,
I have this string:
<45>13: 16:18:46: %SYS-5-CONFIG_I
and I only want to print all the characters behind %:
%SYS-5-CONFIG_I
How can I make this?
Regards
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]