Help for this page

Select Code to Download


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