Hi all,
      I read of a perl function called param, which is part of the CGI.pm perl  
library.  The first simple program I  wrote trying to use it didn't work 
though.   At first I thought the ISP hosting my site didn't provide this 
library,  but I was able to use other commands from it such as:
      print start_html;
      The book in which I read about param is 5 years old.  Could it have been 
discontinued in a modern  version of the library?  I tried perldoc -f param and 
got nothing.  I can't  figure out why my code (below) doesn't work.
  
  
      #!/usr/local/bin/perl
      use CGI ':standard';
      print "Content-type: text/html\n\n";
      $value = param('myvalue');
      print ("The value = $value");
  
  
      I input the value by typing the program’s url in my browser window and 
adding  ?myvalue=75.
      Thanks,
  Fred
  
      
       
---------------------------------
Get the free Yahoo! toolbar and rest assured with the added security of spyware 
protection. 

Reply via email to