On 2002.03.28 00:11 Nicholas Clark wrote:
> Which reminds me that it's a shame that use and no aren't totally symmetrical:
> 
> $ perl -le 'use Carp;'
> $ perl -le 'no Carp;'
> $ perl -le 'use 6;'
> Perl v6.0.0 required--this is only v5.7.2, stopped (did you mean v6.000?) at -e line 
>1.
> BEGIN failed--compilation aborted at -e line 1.
> $ perl -le 'no 6;'
> syntax error at -e line 1, near "no 6;"
> Execution of -e aborted due to compilation errors.

So you want to indroduce special vstring handling in yet another point of the
language ?

On the other hand this can be useful if you want to protect Perl 5 scripts
from being run by perl 6.

Reply via email to