Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by mdillon (Priest)
on May 03, 2002 at 19:56 UTC ( #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.


Comment on Re: Re: Specific Examples? - Re: A Macro System for Perl?
Download Code
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
Node Status?
node history
Node Type: note [id://163885]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (12)
As of 2015-07-30 13:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (271 votes), past polls