Help for this page

Select Code to Download


  1. or download this
    my $q = sub {
      my $var = shift; # 'lang' in this case
      return 1;
    }
    
  2. or download this
    $q->('lang'); # one way
    &{$q}('lang'); # another way
    
  3. or download this
    print ref($q);
    
  4. or download this
    $q->h1('lang'); # instead of $q->('lang')