Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: Specific Examples? - Re: A Macro System for Perl?

by mdillon (Priest)
on May 03, 2002 at 19:56 UTC ( [id://163885]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://163885]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2024-03-28 12:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found