- or download this
use constant MYPACKAGE_c => 'Universe::Tiny';
use constant RWXu => 0700;
use constant MYLOGGERc => \do{local *FH; *FH};
- or download this
#!/usr/bin/perl
...
open LOGGERc, ">mylog" or die; # gotcha
print {LOGGERc} "info...", "\n" or die;
print {\*STDOUT} qx(cat mylog);
- or download this
decent_shell% perl -MLWP::UserAgent -Mconstant=PKGc,LWP::UserAgent -e
+'print +PKGc->new();'