Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    # autovivification makes it look like "Eata" was loaded.
    #
    print "Eata was ", defined $::{'Eata::'} ? "loaded\n" : "not loaded\n"
    +;
    
  2. or download this
    my $Dumper = UNIVERSAL::can('Data::Dumper', 'can')
                 && 'Data::Dumper'->can('Dumper');
    print $Dumper->($hashref) if defined $Dumper;