#!C:\Perl\bin\ use strict; # add library path to wherever WWW::Mechanize might be use lib qw(C:\\userFoo\\myperl\\lib\\site_perl\\5.8.8); use WWW::Mechanize; my $mech = WWW::Mechanize->new(); # Create an instance of mech my $url = 'file:///C:\Documents and Settings\userFoo\Application Data\Mozilla\Firefox\Profiles\profileBar.default\bookmarks.html'; $mech->get( $url ); # Get the bookmark file print %{$mech->follow_link( n => 11 )}; # Get and print a link's contents