The "smart match" operator (~~) was introduced in Perl 5.10. If you are using a 
Perl earlier than that, you will get a syntax error.

See

 perldoc perl5100delta
 perldoc perlsyn

and search for "Smart".


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to