Number 1 is just weird
Actually, it does have some utility - and I've worked some places where it's the required style. Compare:
use strict; use warnings; use CGI; # oops typo, but I don't get an error until runtime sub foo { CGO->new }; # oops another typo, but this time I get a compile time error sub bar { CGO::->new };
Handy for catching typos and missing use statements.
In reply to Re^2: P248 programming perl
by adrianh
in thread P248 programming perl
by wackattack
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |