in reply to GLOBAL VARIABLE HANDLING

Well, the problem with that, is the code you posted does not compile
$ perl -e " our GLOBALVARREF = undef; " No such class GLOBALVARREF at -e line 1, near "our GLOBALVARREF" syntax error at -e line 1, near "our GLOBALVARREF =" Execution of -e aborted due to compilation errors.

Replies are listed 'Best First'.
Re^2: GLOBAL VARIABLE HANDLING
by kaushal_k1 (Novice) on Jul 26, 2011 at 14:29 UTC
    sorry but that's a sample code not meant to compile but to give a picture of what i am doing.