>>>>> "sw" == shawn wilson <ag4ve...@gmail.com> writes:

  sw> On Fri, Mar 18, 2011 at 5:23 PM, Uri Guttman <u...@stemsystems.com> wrote:
  >> >>>>> "sw" == shawn wilson <ag4ve...@gmail.com> writes:
  >> 
  >> please learn how to quote emails properly. it is hard to tell here what
  >> i replied and what you wrote.
  >> 
  >> sorry, i don't know how to do any better in gmail (and does it different on
  sw> the gmail app on my android too - sorta messed up). should i color replies
  sw> differently or something?

don't use colors. use indents with markers like email has always
had. use a better emailer as well.

  >> >>
  >> >> so, what your saying is:
  >> 
  sw> my $writer = sub {
  sw> my $a = shift;
  sw> return [ 200, [ "Content-type" => "text/plain" ], $s ];
  sw> }
  >> 
  >> no. where is the use of $a? where is the code call that dereferences the
  >> ref?
  >> 
  >> 

i don't need to see the original code. my question was about your
rewrite so you could understand it. notice i mentioned $a explicitly as
you used it but it wasn't in the original code. so answer my questions
in that context. you need to show you understand the code
dereference. hint: the shift and code deref are two separate things.

uri

-- 
Uri Guttman  ------  u...@stemsystems.com  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to