in reply to How to Run a FireFox Bookmark
#!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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to Run a FireFox Bookmark
by Anonymous Monk on Jul 06, 2010 at 23:30 UTC | |
by afoken (Chancellor) on Jul 07, 2010 at 04:17 UTC |