Help for this page

Select Code to Download


  1. or download this
    use strict;
    my $SubRef = sub (\@$){
    ...
    my @Array  = ("This ", "Is ", "A ", "Test ", ".");
    my $Scalar = "That was a test.";
    $SubRef->(@Array , $Scalar);
    
  2. or download this
    Can't use string ("This ") as an ARRAY ref while "strict refs" in use 
    +at C:\Projects\test.pl line 5.
    
  3. or download this
    my $SubRef = sub ($$){
    
  4. or download this
    $SubRef->(\@Array , $Scalar);
    
  5. or download this
    my $SubRef = (\@$){