Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Re: Re:

by educated_foo (Vicar)
on May 10, 2002 at 16:05 UTC ( #165681=note: print w/replies, xml ) Need Help??

in reply to Re: Re:
in thread

Yeah. This one has bothered me, too. I suppose you could do something like this (untested):
sub is(&) { return $_[0] } sub goal { ... } # ... goal 'foo' is { ... }
but it's not quite as nice. Option 2: write a source filter that takes
goal mygoal
and replaces it with
goal 'mygoal', sub
That might be a good way to go.


Replies are listed 'Best First'.
Re: Re: Re: Re:
by Joost (Canon) on May 10, 2002 at 16:59 UTC
    Thanks for the tip, I used Filter::Simple, and it seems to do the trick :-)
    -- Joost downtime n. The period during which a system is error-free and immune from user input.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://165681]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2017-12-16 15:18 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (454 votes). Check out past polls.