in reply to BEGIN and compile-time
This will execute the BEGIN block before the use.BEGIN { delete $INC{'ModX.pm'}; use lib '../'; } use ModX;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: BEGIN and compile-time
by ikegami (Patriarch) on Nov 02, 2006 at 16:59 UTC | |
|
Re^2: BEGIN and compile-time
by jbert (Priest) on Nov 02, 2006 at 11:43 UTC | |
by Anonymous Monk on Nov 02, 2006 at 12:53 UTC |