Help for this page

Select Code to Download


  1. or download this
    hisham@bioslayer:~$ perl -
    my $subref = sub{print 'a',"\n";};
    ...
    (my $test)?print 'c' : &{$subref}; #dereference with &{}
    __END__
    a
    
  2. or download this