Using block-for does not put the lexical in the surrounding scope. This is an interesting difference, particularly since -MO=Deparse indicates that the above statement is translated into the block form.s[http://foo.bar.com/][] for (my $dirfilename = $url);
In reply to Re: How do I assign & substitute in one statement?
by Roy Johnson
in thread How do I assign & substitute in one statement?
by dfaure
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |