Skip Navigation
24 comments
  • I don't have to use a perl script to view the contents of a file?

    open(my $fh, '<', 'filename.txt') or die "Could not open file: $!"; while (my $line = <$fh>) { print $line; } close($fh);

    Sick!

24 comments