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

  sw> I learned a new way to use shift here (or probably any function
  sw> that uses $_) and I have (sorta learned about closures.

you are doing it again. $_ and @_ have nothing to do with each
other. and shift never touches $_. shift works on its array argument or
@_ inside a sub or @ARGV outside a sub if no argument is passed. you
haven't learned diddly about shift IMNSHO if you keep saying wrong
things like this.

  sw> Now, I'm pretty sure that what was being shifted was a method probably 
$req
  sw> = Plack::Request->($env); and $req was being or gets passed from builder.

it doesn't matter what was shifted. what matters is that you understand
shift independently from the surrounding code. you haven't demonstrated
that to me yet. 

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