graphics programming with perl - manning 2002

graphics programming with perl - manning 2002

graphics programming with perl - manning 2002

... Piergies, and Lianna Wlasiuk. Graphics Programming with Perl xxi about the cover illustration The figure on the cover of Graphics Programming with Perl is from a Spanish com- pendium of regional dress ... graphics tasks in Perl. So I accepted the challenge and started working, with the goal of providing a book that would sum up the ways to work with graphics from wi...
Ngày tải lên : 25/03/2014, 10:25
  • 328
  • 263
  • 0
programming the network with perl - wiley 2002

programming the network with perl - wiley 2002

... varieties. The -w part of the Perl command is a switch asking Perl to compile the code with extra warnings enabled. Until you know what you are doing, the advice is to always run Perl with the -w switch. Oh, ... " ;Programming the Network with Perl& quot;, ’Year’ => 2002 }; Or, this code would also do: %hash = ( ’Name’ => "Paul Barry", ’Book’ => " ;P...
Ngày tải lên : 25/03/2014, 10:29
  • 388
  • 402
  • 0
Web Client Programming with Perl-Chapter 3: Learning HTTP- P3

Web Client Programming with Perl-Chapter 3: Learning HTTP- P3

... Date: Sat, 20-May-95 03:25:12 GMT Server: NCSA/1.3 MIME-version: 1.0 Content-type: text/html Last-modified: Wednesday, 14-Mar-95 18:15:23 GMT Content-length: 1029 [Entity-body data] In ... example If-Modified-Since header might read: If-Modified-Since: Fri, 02-Jun-95 02:42:43 GMT The same formats accepted for the Date header (listed in Appendix A) are used for the If-Modified-Sin...
Ngày tải lên : 17/10/2013, 19:15
  • 27
  • 521
  • 0
Web Client Programming with Perl-Chapter 4: The Socket Library- P1

Web Client Programming with Perl-Chapter 4: The Socket Library- P1

... $opt_H, $opt_d); } The call to Getopts( ) indicates that we're interested in the -h, -H, -r, and -d command-line options. When Getopts( ) finds these switches, it sets $opt_* (where * is the ... handle to associate with the socket, what the network protocol is, and whether the socket should be stream-oriented or record-oriented. For HTTP transactions, sockets are stream-oriented...
Ngày tải lên : 20/10/2013, 10:15
  • 26
  • 491
  • 0
Web Client Programming with Perl-Chapter 4: The Socket Library- P2

Web Client Programming with Perl-Chapter 4: The Socket Library- P2

... and entity-body to not echo to STDOUT. This isn't needed anymore in the context of this program. Also, instead of parsing the -r, -H, and -d command-line arguments, we look for -i for displaying ... "usage: $0 -hil URL(s)\n"; print " -h help\n"; print " -i print out image URLs\n"; print " -l print out hyperlink URLs\n"; exit (-1 );...
Ngày tải lên : 20/10/2013, 10:15
  • 26
  • 463
  • 0
Web Client Programming with Perl-Chapter 5: The LWP Library- P1

Web Client Programming with Perl-Chapter 5: The LWP Library- P1

... $request->header('content-length' => 2); $request->header('content-type' => 'text/plain'); $request->content('hi'); print $request->as_string( ... $ua->agent([$product_id]) When invoked with no arguments, this method returns the current value of the identifier used in the User-Agent HTTP header. If invoked with an argum...
Ngày tải lên : 24/10/2013, 08:15
  • 27
  • 400
  • 0
Web Client Programming with Perl-Chapter 5: The LWP Library- P2

Web Client Programming with Perl-Chapter 5: The LWP Library- P2

... HTTP::Request('GET', $ARGV[0]); my $response = $ua->request($request); if ($response->is_success) { print $response->content; } else { print $response->error_as_HTML; } have to call the ... deallocate memory used by the tree. Future versions of Perl or LWP may handle this automatically. See online documentation at www .perl. com for up-to-date information....
Ngày tải lên : 24/10/2013, 08:15
  • 32
  • 439
  • 0
Web Client Programming with Perl-Chapter 6: Example LWP Programs-P1

Web Client Programming with Perl-Chapter 6: Example LWP Programs-P1

... "HELP"; usage: $0 [-hilp] [proxy URL] URLs -h help -i grep out images references only -l grep out hyperlink references only -p use this proxy server Example: $0 -p http://proxy:8080/ ... command-line processing with getopts( ): getopts('hilp:'); my $all = !($opt_i || $opt_l); # $all=1 when -i -l not set if ($opt_h || $#ARGV= =-1 ) { # print help tex...
Ngày tải lên : 28/10/2013, 15:15
  • 41
  • 469
  • 0
Web Client Programming with Perl-Chapter 6: Example LWP Programs-P2

Web Client Programming with Perl-Chapter 6: Example LWP Programs-P2

... Tk extension to Perl. Usage: $0 URL\n Options: -l Display local URLs -r Display remote URLs -R Display which HTML pages refers to what -n Display non-HTML links -b Display bad ... (default) -a Display all of the above -v Print out URLs when they are examined -e email Mandatory: Specify email address to include in HTTP request. -m # Examine at most # URLs\n -p ur...
Ngày tải lên : 28/10/2013, 15:15
  • 34
  • 329
  • 0
Web Client Programming with Perl-Chapter 7: Graphical Examples with Perl/Tk- P1

Web Client Programming with Perl-Chapter 7: Graphical Examples with Perl/Tk- P1

... $scroll->configure(-command => ['yview', $text]); $scroll->pack(-side => 'right', -expand => 'no', - fill => 'y'); $text->pack(-side ... 'lucidasans-bold-18'); $text->tag('configure', '</H3>', -font => 'lucidasans-bold-14'); $text->tag('configure', '<...
Ngày tải lên : 07/11/2013, 09:15
  • 14
  • 465
  • 0

Xem thêm

Từ khóa: