Help for this page

Select Code to Download


  1. or download this
    eval { $yaml_class->import( 'Dump'); 1; }
      or croak( "Can't find Dump in $yaml_class\n" );
    
  2. or download this
    Package::Stash->new( $yaml_class )->has_symbol( '&Dump' )
      or croak( "Can't find Dump in $yaml_class\n" );
    
  3. or download this
    my $Dump = $yaml_class . "::Dump";
    [... later in the code ...]
    my $var = eval { &$Dump(...) } or croak( "bad return or Dump not imple
    +mented\n" );