Johan Vromans <[EMAIL PROTECTED]> writes:
> =head1 ABSTRACT
>
> Perl distinguishes named operators and functions. For Perl6, this
> disctinction can be dropped.
Will this then work?
sub foo {
my $func = shift;
&$func(@_);
}
foo(\&print, "foo");
foo("print", "foo");
foo(\&CORE::print, "foo");
foo("CORE::print", "foo");
It would for instance be nice to be able to use \&print directly as a
HTML::Parser callback.
--Gisle
- RFC: Drop distinction between user-defined and built-in f... Johan Vromans
- Re: RFC: Drop distinction between user-defined and b... Gisle Aas
- Re: RFC: Drop distinction between user-defined a... Tom Christiansen
- Re: RFC: Drop distinction between user-defined a... John Porter
- Re: RFC: Drop distinction between user-defin... Tom Christiansen
- Re: RFC: Drop distinction between user-d... John Porter
- Re: RFC: Drop distinction between u... Tom Christiansen
- Re: RFC: Drop distinction betwe... Tom Christiansen
- Re: RFC: Drop distinction between user-defined and b... skud
