in reply to Scalar and void subroutines

Knowing how much trouble this sort of interface was for HTML::Entities::encode_entities, I'd suggest you rethink your choice.

Keep in mind that there are a few odd "context at a distance" issues with normal Perl coding. It's hard to prove that something is in "void" context at first glance.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

Replies are listed 'Best First'.
Re^2: Scalar and void subroutines
by eff_i_g (Curate) on Nov 11, 2005 at 18:10 UTC
    Is Contextual::Return a solution to this merlyn, or are subroutines slippery no matter the case?