Mozilla::nsID - Perl extension wrapping Mozilla nsID class.
use Mozilla::nsID; my $id1 = Mozilla::nsID->new(0x95611356, 0xf583 , 0x46f5, [ 0x81, 0xff, 0x4b, 0x3e, 0x01, 0x62, 0xc6, 0x19 ]); is($id1->ToString, '{95611356-f583-46f5-81ff-4b3e0162c619}'); my $id2 = Mozilla::nsID->new_empty; $id2->Parse('{95611356-f583-46f5-81ff-4b3e0162c619}'); # And now $id1 equals $id2
This module wraps Mozilla nsID interface. Please see Mozilla documentation for more details.
Boris Sukholitko, <boriss@gmail.com<gt>
Copyright (C) 2006 by Boris Sukholitko
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.
To install Mozilla::nsID, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mozilla::nsID
CPAN shell
perl -MCPAN -e shell install Mozilla::nsID
For more information on module installation, please visit the detailed CPAN module installation guide.