Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Adding scalars but with a twist..

by davido (Cardinal)
on Feb 14, 2005 at 03:15 UTC ( #430671=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    no strict qw/vars/;
    
    ...
    $sum += ${$::{$_}} foreach grep /sel\d+/, keys %::;
    
    print $sum, "\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://430671]
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: (2)
As of 2022-05-28 01:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (98 votes). Check out past polls.

    Notices?