- or download this
open FILE, $filename || die $!;
- or download this
open FILE, $filename or die $!;
- or download this
open(FILE,$filename) || die $!;
- or download this
die "Could not open $filename: $!\n";
- or download this
$str ='abcd';
$str =~s/a//g; # \g unnecessary
##
$str = 'abacad';
$str =~s/a//g; # more appropriate