Help for this page

Select Code to Download


  1. or download this
    # built in
    push @array, $first, $second, @all;
    ...
    # so you can call it as
    my_push @arr, 'as', 'it was', 'a builtin';
    
  2. or download this
    perl -MConfig -e "print qq(For Perl $Config{version} the push prototyp
    +e is: ),prototype 'CORE::push' "
    For Perl 5.8.8 the push prototype is: \@@
    ...
    perl -MConfig -e "print qq(For Perl $Config{version} the push prototyp
    +e is: ),prototype 'CORE::push' "
    For Perl 5.14.2 the push prototype is: +@
    
  3. or download this
    
    my_grep (&@){
    ...
       ...
    }