So despite the warning that $field is not numerical Perl does try to read the actual numerical value assigned.my $field = 2; print "A number!", $field + 1 if ( $field > 1);
In reply to Re: Question re numbers and strings
by pat_mc
in thread Question re numbers and strings
by ultranerds
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |