|Think about Loose Coupling|
Re: How do I write subs that take bare blocks as args?by DamnDirtyApe (Curate)
|on Jun 28, 2002 at 06:20 UTC||Need Help??|
Thank you both. I've found the relevant sections now in perlsub and in the Camel book. For the record, it was as easy as:
Update: On reading kvale's node a little closer, I tried changing my code to:
...which also worked. Is there any advantage/disadvantage to this over eval?
D a m n D i r t y A p e
Home Node | Email