Help for this page

Select Code to Download


  1. or download this
    my $x = sub { print shift };
    
  2. or download this
    $x->('Hello world!');
    
  3. or download this
    #! /usr/bin/perl
    use warnings;
    ...
    }
    
    print two_subs()->{first}->('A'), ' ', two_subs()->{second}->('B'), "\
    +n";