Help for this page

Select Code to Download


  1. or download this
    sub foo {...};
    my @a = (1, 2, 3);
    foo(1, 2, 3);
    foo(@a);
    
  2. or download this
    sub bar ($$$) {...};
    my @a = (1, 2, 3);
    bar(1, 2, 3);
    bar(@a);  # Not enough arguments error