ThreatNet::Topic - An object representation of a ThreatNet channel topic
ThreatNet is an evolving idea. This standalone module defines a topic format and an object to hold it. ThreatNet itself is not yet available.
A proposal generally defining what it might be is available at:
http://ali.as/devel/threatnetwork.html
The new constructor takes a new ThreatNet topic string and creates an object that represents it.
new
A ThreatNet topic should look like the following
threatnet://host/path configuration
That is, it should start with a 'threatnet' URI identifier in the same style as XML namespace URIs, containing at least the host and path components, following an arbitrary string most likely representing the configuration and rules of the channel, with a format defined by the protocol.
Returns a new ThreatNet::Topic object or undef if the string is not a valid ThreatNet topic string.
undef
Accessor method that returns the Topic as a topic string.
Accessor method that returns the protocol identifier as a URI object
Accessor method that returns the non-required protocol-specific part of the topic, which is assumed to hold the channel configuration.
All bugs should be filed via the bug tracker at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=ThreatNet-Topic
For other issues, or commercial enhancement and support, contact the author
Adam Kennedy <adamk@cpan.org>
Copyright (c) 2004 Adam Kennedy. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
To install ThreatNet, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ThreatNet
CPAN shell
perl -MCPAN -e shell install ThreatNet
For more information on module installation, please visit the detailed CPAN module installation guide.