Help for this page

Select Code to Download


  1. or download this
    eval {
        my $file = 'foo.pl';
        require $file;
    };
    
  2. or download this
    my $notwhatiwant = qq{
        $file = 'foo.pl'; # foo has errors in it
        require "$file";
    ...
    print "<$notwhatiwant>\n";
    eval $notwhatiwant;
    dienice("that code is busted because: $@") if $@;