in reply to japhy has met his match
Matching is a one-to-many operation. More succintly:use Magic; tilt() if ($str =~ m/$Magic::selfish/ && ${str}abc !~ m/$Magic::selfish/); tilt() if ($Magic::selfish =~ m/$str/ && ${Magic::selfish}abc !~ m/$str/);
You're tilting at a windmill.die "42" if ${Magic::selfish}z !~ m/$Magic::selfish/;
After Compline,
Zaxo
|
|---|