On 9/27/06, <b class="gmail_sendername">Ricardo SIGNES</b> &lt;<a href="mailto:rjbs-perl-abe@lists.manxome.org">rjbs-perl-abe@lists.manxome.org</a>&gt; 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>&nbsp;&nbsp;I met her at the library.&nbsp;&nbsp;We went for drinks.&nbsp;&nbsp;Yadda yadda yadda, she woke<br>&nbsp;&nbsp;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.&nbsp;&nbsp;The &quot;$func-&gt;(@_)&quot; is inside sub {},
<br>which means that its @_ is not the same as the enclosing sub's @_.&nbsp;&nbsp;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.&nbsp;&nbsp;</blockquote><div><br>I know that.<br>&nbsp;</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?&nbsp; 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>