Help for this page

Select Code to Download


  1. or download this
    sub my_print($)
    {
    ...
    }
    
    my_print( \$string );
    
  2. or download this
    sub my_print($) {
       my $string_ref = shift;
    ...
    }
    
    my_print( \$string );
    
  3. or download this
    sub my_print {
       my $s = join( $,, @_ ) . $\;
    ...
    }
    
    my_print( $string );