On Mon, 18 Sep 2000 01:22:31 -0600, Tom Christiansen <[EMAIL PROTECTED]> wrote:
> Surely the next request will be to make anything that works outside
> of quotes work inside of them, completely erasing the useful visual
> distinction. Why should operators, after all, be any different
> from functions?
>
> print "I have Fooey->fright($n) frobbles.\n";
> print "I have &snaggle($n) frobbles.\n";
> print "I have abs($n) frobbles.\n";
> print "I have $x+$y frobbles.\n";
You've just entered the twilight zone. These are very good examples of 'where
do we stop?' DWIM-like I'd expect (as a newbe) that the first two example would
work and the last two won't. As a long(er)-time user I immediatly say they
won't (all of them).
In the outskirts of nowhere
on the ringroad to somewhere
on the verge of indecision
i allways take the roundabout way
-- marillion
--
H.Merijn Brand Amsterdam Perl Mongers (http://www.amsterdam.pm.org/)
using perl-5.005.03, 5.6.0, 5.7.1 & 516 on HP-UX 10.20 & 11.00, AIX 4.2 & 4.3,
DEC OSF/1 4.0 and WinNT 4.0 SP-6a, often with Tk800.022 and/or DBD-Unify
ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/H/HM/HMBRAND/