On 4/11/07, Rodrigo Tavares <[EMAIL PROTECTED]> wrote:
snip
if ( "8.1.8" =~ /$version/)
snip

You are using the operators incorrectly.  It should look like this:

if ($version =~ /8\.1\.8/)

The form is "variable binding_operator regex".  Note that the periods
need to be escaped otherwise they will be interpreted as any-character
by the regex.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to