Help for this page

Select Code to Download


  1. or download this
    sub process {
        my $src = shift;
    ...
    # possibly extra external logging if something went wrong
        return $@ ? "<B>Error in '$src': $@</B>" : $value;
    }
    
  2. or download this
    $data =~ s/<# (\{.*?\}) #>/process($1)/eg;