Help for this page

Select Code to Download


  1. or download this
    sudo apt-get install libpng-dev
  2. or download this
    $ ./1.mai.pl 
    
                            enable1.txt
                          
    Yay
    
  3. or download this
    #!/usr/bin/perl
    
    use strict;
    ...
    }
    
    sleep 1;
    
  4. or download this
    curl 'https://www.googleapis.com/storage/v1/b/google-code-archive/o/v2
    +%2Fcode.google.com%2Fdotnetperls-controls%2Fproject.json?alt=media&st
    +ripTrailingSlashes=false' -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; L
    +inux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0' -H 'Accept: applic
    +ation/json, text/plain, */*' -H 'Accept-Language: en-US,en;q=0.5' --c
    +ompressed -H 'Origin: https://code.google.com' -H 'Connection: keep-a
    +live' -H 'Referer: https://code.google.com/archive/p/dotnetperls-cont
    +rols/downloads' -H 'Cache-Control: max-age=0' -H 'TE: Trailers'
    
  5. or download this
    $ ./2.curl.pl | tail -5
    zymotic
    zymurgies
    ...
    
    __END__
    $
    
  6. or download this
    $ cat /etc/2.log.conf
    ######################################################################
    +#########
    #                              Log::Log4perl Conf                     
    +        #
    ...
    log4perl.appender.LOG1.layout    = Log::Log4perl::Layout::PatternLayou
    +t
    log4perl.appender.LOG1.layout.ConversionPattern = %d %p %m %n
    $
    
  7. or download this
    #!/usr/bin/perl
    use Log::Log4perl;
    # Initialize Logger
    ...
        $logger->error("there was an error: $?");
    }
    $logger->info("===== after system call");
    
  8. or download this
    else {
       print "Error: " . $mech->status . "\n";
    }
    
  9. or download this
    else {
       $logger->error("there was an error: $mech->status" . "\n") ;
    }