Help for this page

Select Code to Download


  1. or download this
    sub mysay (;+@) {
        return say $_ unless @_;
    ...
        elsif ( ref $_[0] eq 'HASH'  ) { unshift @_, %{shift()} }
        say join "\n", @_;
    }
    
  2. or download this
    #!/usr/bin/env perl
    use warnings;
    ...
    say "------";
    mysay %h, "xyz";
    say "######";