Perl script using LWP module

Library FOR WWW in Perl (LWP) In Linux you can istall all the perl modules about the web (LWP, URI, URL, HTTP…) at once: :~$ sudo apt-get install libwww-perl LWP is the most used Perl module for accessing data on the web. LWP::Simple – module to get document by http its functions don’t support cookies […]

Perl script for a Hollywood Sqlite database

Let’s analyze the following perl scripta “”, to create and populate a simple database about  movies, and “” to execute a simple SELECT-FROM-WHERE query on it. ————————————————————————————————— #!/usr/bin/perl -w use DBI; use strict; # CONFIG VARIABLES my $platform = “SQLite”; my $database = “hollywood.db”; my $host = “localhost”; my $port = “3306”; my $user = […]