Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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
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 perusing the Monastery: (6)
As of 2014-08-23 00:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (168 votes), past polls