in reply to Re^4: A curious case of of my()
in thread A curious case of of my()

It's the line "push @array ..." that auto-vivified the global array in the absence of strict declarations - the my did not take effect.

One world, one people

Replies are listed 'Best First'.
Re^6: A curious case of of my()
by JavaFan (Canon) on Apr 05, 2011 at 11:55 UTC
    Bullshit.

    Please provide use with a code sample, that

    1. Shows that such an array is visible outside the lexical scope it's declared in.
    2. Shows that slapping use strict; on it actually makes a difference.