• Alph4d0g@discuss.tchncs.de
    link
    fedilink
    arrow-up
    5
    ·
    10 hours ago

    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!