Help for this page

Select Code to Download


  1. or download this
    my $object3 = 'Foo::Bar'->new;
    say ref $object3;   # says "Foo::Bar"
    
  2. or download this
    use strict;
    use warnings;
    ...
    # Name "Foo::Bar" used only once: possible typo
    # print() on unopened filehandle Bar
    print Foo::Bar::, "Baz\n"; # prints Foo::BarBaz