When the lib module is first loaded, the current value of @INC is recorded in "@lib::ORIG_INC". To restore @INC to original value, you can use :
@INC = @lib::ORIG_INC;
@INC = @lib::ORIG_INC;
This blog provides some ready-made tips, tricks, tweaks & interview questions-answers on C, C++, Perl, Shell Scripting and UNIX Commands.
No comments :
Post a Comment