Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Binary data structure to moose class.

by chrestomanci (Priest)
on Jan 02, 2013 at 15:14 UTC ( #1011290=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $hmt_data = new Binary::Humax::hmt_data();      # Object will be us
    +eless as it contains no data
    $hmt_data->raw_from_file($path_name);              # At this point onl
    +y the 'rawData' field is populated
    my $field = $hmt_data->startTime();                # Invokes a lazy bu
    +ilder to extract the field.
    
  2. or download this
    use DateTime;
    use Moose;
    ...
        my $self = shift @_;
        return unpack('@33 A512', $self->rawDataBlock() );
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1011290]
Front-paged by Arunbear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2015-09-01 00:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (366 votes), past polls