Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Moose: using value of one attribute in another attribute

by mimosinnet (Sexton)
on Jan 11, 2013 at 23:16 UTC ( #1012994=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Acpi::Battery::Values;
    use Acpi::Arxiu;  # Reads the content of the file
    use Moose;
    ...
    }
    
    1;
    
  2. or download this
    use FindBin qw($Bin);
    use lib "$Bin/lib";
    use strict;
    ...
        my $value = $a->$an;
        print "$an = $value \n";
    }
    
  3. or download this
     perl Values.pl
    G71C000AH310 
    serial_number = 0000000288 
    ...
    technology = Li-ion 
    present = 1 
    voltage_now = 11360000
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (15)
As of 2015-07-06 18:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (80 votes), past polls