Help for this page

Select Code to Download


  1. or download this
    foreach $line (<MSG>) {
       chomp($line);
       push(@array, $line);
    
  2. or download this
    chomp( @array = <MSG> );
    
  3. or download this
    use strict;
    use warnings;
    
  4. or download this
    open my $msgFH, q{<}, q{/some/file}
       or die qq{open: < /some/file: $!\n};