in reply to regex transforms of object attributes
You may need to put the parenthesis () after the inner call to content (the accessor one) so that perl unambiguously knows what you're trying to do$self->content( $self->content =~ s/foo/bar/ );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: regex transforms of object attributes
by Joost (Canon) on Jun 18, 2004 at 21:02 UTC |