in reply to caller function in windows?

If you just call test() you don't have two call frames, so caller(2) is rather meaningless.

(Update: Actually you do have two call frames if you count the current, but since caller() starts counting at 0, you'd actually need 3 call frames)

Perl 6 - links to (nearly) everything that is Perl 6.

Replies are listed 'Best First'.
Re^2: caller function in windows?
by eye (Chaplain) on Sep 27, 2009 at 05:28 UTC
    And the OP doesn't actually call test().