RosettaCodeData/Task/Assertions/Perl/assertions-2.pl
2014-01-17 05:34:36 +00:00

2 lines
114 B
Perl

open my $fh, '<', 'file'
or die "Cannot open file: $!\n"; # $! contains the error message from the last error