Netscape::Bookmarks::Alias - object for an Alias in a Netscape Bookmarks file
use Netscape::Bookmarks; use Netscape::Bookmarks::Alias; my $bookmarks = Netscape::Bookmarks->new(); my $alias = Netscape::Bookmarks::Alias->new(); $bookmarks->add( $alias ); # ... and other Netscape::Bookmark::Category methods
This module provides an abstraction for an Alias object in a Netscape Bookmarks file. An alias is simply a reference to another link in the Bookmarks file, henceforth called the target. If you change the alias, the target link also changes.
Returns the alias key for this alias
Returns the target Link of the given alias key. The return value is a Netscape::Bookmarks::Link object if the target exists, or undef in scalar context or the empty list in list context if the target does not exist. If you want to simply check to see if a target exists, use target_exists.
Netscape::Bookmarks::Link
target_exists
Adds a target link for the given ALIAS_KEY. You can add target links before the Alias is created.
For the given target key returns TRUE or FALSE if the target exists.
This source is part of a SourceForge project which always has the latest sources in CVS, as well as all of the previous releases.
http://sourceforge.net/projects/nsbookmarks/
If, for some reason, I disappear from the world, one of the other members of the project can shepherd this module appropriately.
brian d foy, <bdfoy@cpan.org>
<bdfoy@cpan.org>
Copyright (c) 2002-2007 brian d foy. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Netscape::Bookmarks
To install Netscape::Bookmarks, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Netscape::Bookmarks
CPAN shell
perl -MCPAN -e shell install Netscape::Bookmarks
For more information on module installation, please visit the detailed CPAN module installation guide.