is this version old? $ perl -MCGI -e 'print $CGI::VERSION' 2.89$
Is > N00b Among n00bs wrote: >> Not sure if this belongs in beginners.cgi or here, but... >> >> Can you tell me how I can make Perl find the version number of the CGI >> mod in use(does it depend on the server, or is it a purely Perl thing)? >> > > I assume you mean CGI.pm as opposed to mod_cgi? In the latter case it > would be difficult. In the former something like: > > use CGI; > print $CGI::VERSION; > > or > > print CGI->version; > > Should work. > > > perl -MCGI -e 'print CGI->version' > 2.89 > > > perl -MCGI -e 'print $CGI::VERSION'; > 2.89 > > http://danconia.org > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > ----------------------------------------- eMail solutions by http://www.swanmail.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]