Help for this page

Select Code to Download


  1. or download this
    use CGI;
    my $q=new CGI;
    print $q->header("application/x-perl").`cat $0`;
    
  2. or download this
    use CGI;
    my $q=new CGI;
    ...
    print $q->header(-type=>`file -bi $filename`."; file=$filename",
       -content_dispostion=>"attachment; filename='$filename'").
       `cat $filename`;