On Mon, 23 Apr 2001 13:22:54 +0100, Simon Cozens <[EMAIL PROTECTED]> wrote:
> If postfix "!" was up for grabs - which it probably isn't - what would
> you do with it?
> 
> One interesting suggestion was to have it as a shorthand for assertion:
> 
> sub foo {
>     (@_ > 0)!;
>     ...
> }
> 
> (Or even have ! be a valid statement terminator, so "(@_>0)!" would work.)
> 
> Or you could have it doing something to variables: $a = $b! + $c;
> (But what?)
> 
> Fun, eh?

DWIM would be "faculty"

-- 
H.Merijn Brand    Amsterdam Perl Mongers (http://www.amsterdam.pm.org/)
using perl-5.6.1, 5.7.1 & 623 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
     WinNT 4, Win2K pro & WinCE 2.11 often with Tk800.022 &/| DBD-Unify
ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/H/HM/HMBRAND/

Reply via email to