At one point, I have to figure out why this didn't work:
Define "didn't work"? In what way didn't it work?
This compiles and runs without error:
#! perl -slw use strict; package thing; sub new { bless {}, $_[0]; } sub value :lvalue { my $this = shift; $this->{VALUE};} package main; my $thing = thing->new; $thing->value = undef;
In reply to Re: :lvalue, How I Hate Thee
by BrowserUk
in thread :lvalue, How I Hate Thee
by jk2addict
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |