XBRL::Context - OO Module for Encapsulating XBRL Contexts
use XBRL::Contexts; my $context = XBRL::Context->new($context_xml); my $id = $context->id();
This module is part of the XBRL modules group and is intended for use with XBRL.
Object constructor takes a scalar containing the XML representing the context
Get or set the context's ID
Get or set the context's scheme
Get or set the context's identifier
Get or set the context's start date
Get or set the context's end date
Get or set the context's label
Get or set the context's dimension
Get or set the context's duration
Returns true if the context has any dimensions
Takes a the dimension and returns its value
Takes a dimension name and returns true if the context has the dimension.
Takes an array reference of dimension names and returns true if all of the incoming dimensions are present in the context
Takes a dimension value and returns the value of the dimension.
Mark Gannon <mark@truenorth.nu>
Modules: XBRL XBRL::Schema XBRL::Element XBRL::Label
Source code, documentation, and bug tracking is hosted at: https://github.com/MarkGannon/XBRL .
Copyright (C) 2012 by Mark Gannon
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10 or, at your option, any later version of Perl 5 you may have available.
1 POD Error
The following errors were encountered while parsing the POD:
'=item' outside of any '=over'
To install XBRL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XBRL
CPAN shell
perl -MCPAN -e shell install XBRL
For more information on module installation, please visit the detailed CPAN module installation guide.