Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: $foo->bar = 14;

by BrowserUk (Pope)
on Dec 29, 2002 at 20:56 UTC ( #222957=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    syntax error at C:\test\lvalue.pl line 10, near "$property :"
    BEGIN not safe after errors--compilation aborted at C:\test\lvalue.pl 
    +line 10.
    
  2. or download this
    BEGIN {
        no strict 'refs';
    ...
            *$property : lvalue = sub { $_[SELF]->{$property} };
        }
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2014-08-30 21:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls