Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2016-10-01 03:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (574 votes). Check out past polls.