Help for this page

Select Code to Download


  1. or download this
    my $line = <$fh>;
    
  2. or download this
    my @lines = <$fh>;
    
  3. or download this
    array</i> context, but this is a frowned upon term as the variables ne
    +edn't be an array. 
    
    <code>
    my( $v1, $v2, $v3, $v4, $v5 ) = <$fh>;
    
  4. or download this
    my @lines = scalar <$fh>;
    
  5. or download this
    print join '', 'fred', 'bill', undef, 'john';;
    Use of uninitialized value in join or string at (eval 3)
    fredbilljohn