Help for this page

Select Code to Download


  1. or download this
    # <SNIP> - handle some pre-processing
    
    ...
    my ($needed) = $file =~ /\A<!\-\-(.*?)\-\->/s;
    
    # now output the document, using the $needed info.
    
  2. or download this
    BEGIN {
       use vars qw($NEEDED);
    ...
    }
    
    # now output the document, using the $NEEDED{$FILE} info.