No, that's wrong. According to the CTCP Specification, correct is:
$text =~ m/^\001ACTION slaps Wizard\001$/--Ingo
In reply to Re^3: using Net::IRC for actions
by iblech
in thread using Net::IRC for actions
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |