Hi all, I have a module somewhat looks like this :
package minicgi; require Exporter; our @ISA = qw/Exporter/; our @EXPORT = qw/NormalHeader OtherHeader/; sub NornalHeader { print "Content-Type:text/html\n\n" } # normal html sub OtherHeader { print "Content-Type:$_[0]\r\n\r\n" } # perhaps sending file NormalHeader; 1; So, when I use minicgi, normal_header() will autorun, however, it makes the other_header() meaningless. So my question is, is there anyway I'll run normal_header() without specific argument, but don't run it if I pass whatever argument on the 'use' statement ? Thank you very much, Jim