http://www.perlmonks.org?node_id=163885


in reply to Re: Specific Examples? - Re: A Macro System for Perl?
in thread A Macro System for Perl?

I think you will be able to do this in Perl 6: sub beep ($text) is inline { print $LOG "BEEP: $text\n"; } I've seen examples of this (is inline) for custom operators on the perl6-language list.

Replies are listed 'Best First'.
Re: Re: Re: Specific Examples? - Re: A Macro System for Perl?
by samtregar (Abbot) on May 03, 2002 at 23:14 UTC
    Sounds good. So how do we get it in Perl 5? I live in the present and Perl 6 just seems like a nice daydream most days.

    -sam