Re: RFC 174 (v2) Improved parsing and flexibility of indirect object syntax

[email protected] (Piers Cawley) 21 Sep 2000 10:50:58 +0100
Newsgroups perl.perl6.language.objects
Message-ID <[email protected]>
Perl6 RFC Librarian <[email protected]> writes:
> =head1 ABSTRACT
> 
> Currently, Perl 5 makes a distinction between routines called in the
> indirect object vs. function form:
> 
>    $r = new CGI;          # CGI->new
>    $r = new CGI (@args);  # CGI->new(@args)
>    $r = new(CGI  @args);  # mail::new(main::CGI(@args))
     $r = new(CGI  @args);  # main::new(main::CGI(@args))