Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

$foo->bar = 14;

by Juerd (Abbot)
on Dec 29, 2002 at 19:25 UTC ( #222941=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    BEGIN {
        no strict 'refs';
    ...
            }
        }
    }
    
  2. or download this
    BEGIN {
        no strict 'refs';
    ...
            *$property = sub : lvalue { $_[0]->{$property} };
        }
    }
    
  3. or download this
    OLD SITUATION           NEW SITUATION
    
    ...
      $temp =~ s/foo/bar/;
      $foo->bar($temp);
    }                       $foo->bar =~ s/foo/bar/
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2014-12-26 08:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (168 votes), past polls