Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: storing and using LoL path

by almut (Canon)
on May 26, 2007 at 02:03 UTC ( [id://617646]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %map = (
        typeA => sub { $_[0]->{key1}[3]{key2} },
    ...
        typeC => sub { $_[0]->[1]{key4} },
        # ...
    );
    
  2. or download this
    my %map = (
        typeA => "{key1}[3]{key2}",
    ...
        my $lol   = $elem->{data};
        print eval "\$lol->$xpath", "\n";
    }
    
  3. or download this
    Value1
    Value2
    Value3
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://617646]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-20 02:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found