Jeff Westman wrote:
> Hello There,
> 
> I would like to see if my ISP has perl available if one wanted to
> incorporate perl into a web page.  Is there a quick and dirty web
> page I can upload to my ISP to test if perl is available and works ? 
> I would also like to see what version of perl is running ?
> 
> Could someone post something here that I can run ?

How about something like:

  #!/usr/bin/perl
  print "Content-Type: text/plain\r\n\r\n";
  print $^X, "\n";
  system $^X, '-V';

Upload to a cgi directory and make executable.

This will print current Perl configuration if perl is installed at the
canonical location. If it's a Windows server you might need to name the
script with .pl or some such.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to