- or download this
use strict;
my $cake = 'chocolate';
my $pie = 'apple';
eval slurp("config.pl");
- or download this
## slurp - read a file into a scalar or list
sub slurp {
...
close F;
return @a;
}
- or download this
$pie = 'pecan';
cake = 'fairy';
- or download this
if($@){
print "Some errors happened...\n\n";
print $@."\n\n";
print "Oh well...\n";
}