On Tuesday 04 September 2001 07:25 pm, Dan Sugalski wrote:
> Ah, but what people will want is:
>
> my $x = "foo\n";
> {
> my $x = "bar\n";
> delete $MY::{'$x'};
> print $x;
> }
>
> to print foo. That's where things get tricky. Though I suppose we could
> put some sort of placeholder with auto-backsearch capabilities. Or
> something.
Other than the obvious run-time requirements of this, what's wrong with
simply looking in the current pad, seeing it's not there, then looking in
the previous pad...? (Assuming you know the variable by name....)
--
Bryan C. Warnock
[EMAIL PROTECTED]
- RE: What's up with %MY? Garrett Goebel
- RE: What's up with %MY? Dan Sugalski
- Re: What's up with %MY? Damian Conway
- Re: What's up with %MY? Me
- Re: What's up with %MY? Ken Fox
- Re: What's up with %MY? Uri Guttman
- Re: What's up with %MY? Dan Sugalski
- Re: What's up with %MY? Damian Conway
- RE: What's up with %MY? Damian Conway
- RE: What's up with %MY? Dan Sugalski
- RE: What's up with %MY? Bryan C . Warnock
- RE: What's up with %MY? Damian Conway
- Re: What's up with %MY? Damian Conway
- Re: What's up with %MY? Dan Sugalski
- Re: What's up with %MY? Dan Sugalski
- Re: What's up with %MY? Damian Conway
- Re: What's up with %MY? Dan Sugalski
- Re: What's up with %MY? Uri Guttman
- Re: What's up with %MY? Bryan C . Warnock
- Re: What's up with %MY? Dan Sugalski
- Re: What's up with %MY? Bryan C . Warnock
