Hi there,
I'm trying to match a string in a custom snmp probe:
Code:
warning: $display =~ ".*(Sleeping).*" "Printer is " + ${1}
The above works perfectly fine! But:
Code:
warning: $display =~ ".*(Sleeping|Printing).*" "Printer is " + ${1}
is not working? Why? Is alternation, like in
http://perldoc.perl.org/perlretut.html#Matching-this-or-that described not
implemented?
-------------------- m2f --------------------
Read this topic online here:
http://forums.dartware.com/viewtopic.php?p=2478#2478
____________________________________________________________________
List archives:
http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
To unsubscribe: send email to: [email protected]