in reply to Re^3: Getting size of call stack
in thread Getting size of call stack

I guess I've never like shoe-horning code inside the c-like for operator.

There's also no need to keep track of a seperate $depth since it's the same as scalar(@stack).

My version seems easier to read and more descriptive of what's actually happening. That's just a personal preference though...