Help for this page

Select Code to Download


  1. or download this
    void test2 ( char* text ) {
        PerlIO_printf( PerlIO_stderr(), "Got:'%s'\n", text );
    }
    
  2. or download this
    use warnings;
    use strict;
    ...
        elsif(@_ == 2) { _foo2($_[0], $_[1]) }
        else {die "Wrong no. of args to foo" }
    }