Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 about the Monastery: (5)
As of 2014-11-28 21:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (200 votes), past polls