@[email protected] to [email protected] • 28 days agoOne-linersub.wetshaving.socialimagemessage-square24fedilinkarrow-up1564
arrow-up1564imageOne-linersub.wetshaving.social@[email protected] to [email protected] • 28 days agomessage-square24fedilink
minus-square@[email protected]linkfedilink6•27 days agoI 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!
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!