Netscape::Bookmarks::Isa - mixin methods for object identity
use base qw( Netscape::Bookmarks::Isa ); my $bookmarks = Netscape::Bookmarks->new( $bookmarks_file ); foreach my $element ( $bookmarks->elements ) { print "Found category!\n" if $element->is_category; }
THIS IS AN ABANDONED MODULE. THERE IS NO SUPPORT. YOU CAN ADOPT IT IF YOU LIKE: https://pause.perl.org/pause/query?ACTION=pause_04about#takeover
This module is a base class for Netscape::Bookmarks modules. Each object can respond to queries about its identity. Use this module as a mixin class.
Methods return false unless otherwise noted.
Returns true if the object is a Category.
Returns true if the object is a Link or alias to a Link.
Returns true if the object is an Alias.
Returns true if the object is a Separator.
brian d foy <bdfoy@cpan.org>
<bdfoy@cpan.org>
Copyright © 2002-2019, brian d foy <bdfoy@cpan.org>. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0.
Netscape::Bookmarks::Category, Netscape::Bookmarks::Link, Netscape::Bookmarks::Alias, Netscape::Bookmarks::Separator.
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.