Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. zerojinx

    What is the simplest way for me to

    # You can create a database handle using DBI: use DBI; my $dbh = DBI->connect("DBI:mysql:database=mydatabasename;host=mydatabaseserver", "databaseusername", "databasepassword"); # then you do inserts like this: $dbh->do(qq(INSERT INTO tablename VALUES(a,b,c))); #...
  2. zerojinx

    Can anyone tell me how to parse HTML for anchor tag info

    You can do it pretty quickly by hand too. Something like: #!/usr/local/bin/perl use LWP::Simple; use strict; my $content = &get("http://my.address.com/webpage.html"); my @urls = $content =~ /href="(.*?)"/smig; print join("\n", @urls), "\n";

Part and Inventory Search

Back
Top