Help for this page

Select Code to Download


  1. or download this
    eval "use Foo::Bar 5.01 qw| raz baz taz |";  # try loading v5.01
    if ($@) {                  # if loading v5.01 failed
       warn "$@";              # fallback to using standard (v5.00)
       use Foo::Bar qw| baz |; # raz and taz arent valid tags here
    }
    
  2. or download this
    BEGIN {
       require Foo::Bar;
    ...
          import Foo::Bar qw( raz baz taz );
       }
    }