Subject: | Helper functions eat first argument if it is "CGI" |
If I call:
use CGI qw( :standard );
print p( 'CGI', 'is', 'fun' ), "\n";
I get:
<p>is fun</p>
But if I call it method style:
use CGI qw( :standard );
my $q = CGI->new;
print $q->p( 'CGI', 'is', 'fun' ), "\n";
I get:
<p>CGI is fun</p>
I'm assuming this applies to all the helper functions. I tried li(),
p() and td().