- or download this
package A;
sub new {
...
}
$obj = new A;
undef $obj;
- or download this
package A;
sub new {
...
}
$obj = new A;
undef $obj;
- or download this
$bar = "this\nthat\n";
open(FH, '<', \$bar);
...
open(FH, '>', \$bar);
print FH "this\n";
print FH "that\n";
- or download this
# $foo = capture { print 'hi'; }
# $foo will be filled as if someone had done $foo = `perl -e { print '
+hi'; }` or something like that
...
close($fh);
$ret;
}
- or download this
$"=$,,$_=q>|\p4<6 8p<M/_|<('=>
.q>.<4-KI<l|2$<6%s!<qn#F<>;$,
.=pack'N*',"@{[unpack'C*',$_]
}"for split/</;$_=$,,y[A-Z a-z]
{}cd;print lc