Help for this page

Select Code to Download


  1. or download this
    sub foo {
       print("There are ", 0+@_, " args\n");
    ...
    my $n = 123;
    
    foo(@a, $n);
    
  2. or download this
    There are 4 args
    They are a b c 123
    
  3. or download this
    foo(\@a, $n);
    
  4. or download this
    There are 2 args
    They are ARRAY(0x1829aec) 123
    
  5. or download this
    populateEventManifest(\@projectEvents, $eventManFh);  # <-- extra \
    
    ...
            $event->print($eventManFh);
        }
    }