Help for this page

Select Code to Download


  1. or download this
     
    use CGI qw /:html/; 
    my $q = CGI->new;
    
    print $q->redirect( 'http://www.perlmonks.org');
    
  2. or download this
    CGI.pm HAS BEEN REMOVED FROM THE PERL CORE
    
    ...
    
    The rationale for this decision is that CGI.pm is no longer considered
    + good practice for developing web applications, including quick proto
    +typing and small web scripts. There are far better, cleaner, quicker,
    + easier, safer, more scalable, more extensible, more modern alternati
    +ves available at this point in time. These will be documented with CG
    +I::Alternatives.