Help for this page

Select Code to Download


  1. or download this
    my $r = \{expr};
    
  2. or download this
    my @rv = expr;
    my %h = @rv;
    my $hr = \%h;
    my $r = \$hr;
    
  3. or download this
    $ThingsToDo{firstTask};
    
  4. or download this
    &{$ThingsToDo{firstTask}}();
    
  5. or download this
    $ThingsToDo{firstTask}->();
    
  6. or download this
    my %ThingsToDo = (
       firstTask => sub { my $pkg = shift; $pkg->prepare(@_) },
    ...
    ...
    
    $ThingsToDo{firstTask}->($project);