- or download this
#!/usr/bin/perl -w
use strict;
...
print "My \$result is now $result.\n";
1;
- or download this
my $result = $obj->method($argument);
print "My <explicative deleted> argument still is: $argument. \n";
...
} else {
print STDERR "Yeah! It worked.";
}
- or download this
#!/usr/bin/perl -w
use strict;
...
}
1;
- or download this
if($test) { $obj->method(); }
- or download this
if($test) {
print LOG "The test was successful, now invoking \$obj->method().";
...
} else {
print LOG "The test was unsuccessful, so we won't invoke the \$obj->
+method().";
}
- or download this
if(){
} else {
}