Help for this page

Select Code to Download


  1. or download this
    $ perl --version
    This is perl, v5.10.0 built for i486-linux-gnu-thread-multi
    ...
    
    $ perl -MLWP::UserAgent -le 'print $LWP::UserAgent::VERSION;'
    5.829
    
  2. or download this
    #!/usr/bin/perl -tw
    use strict;
    ...
    die "Failed to retrieve url, " . $r->status_line . "\n"
        if (!$r->is_success);
    print "hello\n";
    
  3. or download this
    perl -d -t /tmp/d.pl
    
    ...
        Term::ReadLine::Gnu::readline('Term::ReadLine=HASH(0x8df56b8)', ' 
    + DB<1> ') called at /usr/share/perl/5.10/perl5db.pl line 6414
        DB::readline('  DB<1> ') called at /usr/share/perl/5.10/perl5db.pl
    + line 2227
        DB::DB called at /tmp/d.pl line 16