Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl 
    use strict;                     # Great start!
    ...
       print join("\t",@$sample);   # Try to dereference a scalar variable
    + named
                                    # 'sample', which you never declared.
    }
    
  2. or download this
    #!/usr/bin/perl 
    use strict;
    ...
       my ($aref) = @_;
       print join "\t", @{ $aref };
    }