in reply to Re: Can someone Explain 2 lines of code
in thread Can someone Explain 2 lines of code

I think the funniest thing about that is that you kept the @Clec_id variable... :-)

-sauoq
"My two cents aren't worth a dime.";
  • Comment on Re: Re: Can someone Explain 2 lines of code

Replies are listed 'Best First'.
Re: Can someone Explain 2 lines of code
by jonadab (Parson) on Oct 29, 2003 at 19:35 UTC
    you kept the @Clec_id variable

    There were two reasons to keep that, but the most important reason was that it was presumably given its value in earlier code, so I'd have to copy from it anyway, not having access to the rest of the code to change it. (The other reason to keep it, of course, is that there was no compelling reason to do otherwise.)


    $;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}} split//,".rekcah lreP rehtona tsuJ";$\=$ ;->();print$/