[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: A common base exception object for Perl - RFC
Redford, John writes:
: You're saying that
: var =~ s/a/b/;
: should be morally equivalent to
: var = regexp_string_replace(var, /a/, 'b');
: for all variables except $@, because it might surprise people if it behaved
: consistently?
Huh? No, I'm saying it would behave just like other variables because
you'd just be modifying the string that's embedded in the object as if
it were the entire value of $@. Of course, what STRINGIFY will return
if $@ doesn't contain a string is anyone's guess.
Larry
- References to:
-
"Redford, John" <John.Redford@fmr.com>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]