On 9/27/06, <b class="gmail_sendername">Ricardo SIGNES</b> <<a href="mailto:rjbs-perl-abe@lists.manxome.org">rjbs-perl-abe@lists.manxome.org</a>> wrote:<div><span class="gmail_quote"></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You basically just said:<br><br> I met her at the library. We went for drinks. Yadda yadda yadda, she woke<br> me up when she made me breakfast.<br><br>You can't just yadda yadda yadda out the good stuff!</blockquote>
<div><br>I'll remember that if that scenario ever happens (again)! <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Your ... above includes a sub declaration. The "$func->(@_)" is inside sub {},
<br>which means that its @_ is not the same as the enclosing sub's @_. Its @_ is<br>defined when that sub is called.</blockquote><div><br>Fine. <br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Reread this example again, paying particular attention to the fact that the<br>sub{}s included in it are data that will be returned, not code that is<br>immediately executed. </blockquote><div><br>I know that.<br> </div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Is it clearer?</blockquote><div><br>Except for one thng: where/how is the anon sub's @_ populated? I don't see any parameters being passed to the anon sub.
<br> </div></div><br>-- <br><br>Regards,<br><br>Faber Fedor<br>Linux New Jersey, Inc.<br>908-320-0357<br><a href="http://www.linuxnj.com">http://www.linuxnj.com</a>