Don't obfuscate your code by using pattern matching when you don't need it.#!/usr/bin/perl use warnings; use strict; my $val = 1100; print "Value contains a 0\n" if $val =~ /0/; print "Value is actually equal to 0\n" if $val =~ /^0$/;
In reply to Re: Trying to skip for $LEV = 0
by virtualsue
in thread Trying to skip for $LEV = 0
by MKevin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |