#! /usr/bin/perl -w
use strict;
sub two {2}
printf "two + 2 = %d\n",two + 2;
john@scan test$ ./two.pl
two + 2 = 2
testing:
printf "%d\n",two; prints 2
In reply to two + 2 not equal 4! by kp2a
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |