Do you know where your variables are? | |
PerlMonks |
Re^2: How to export variables from caller file to packagesby shekarkcb (Beadle) |
on Aug 09, 2011 at 05:43 UTC ( [id://919375]=note: print w/replies, xml ) | Need Help?? |
Thanks for the reply. Still i am unable to get the variable value passed to the masterPacake/secondPackage. I did print the value on the caller package, i can see the value but in the secondPackage/masterPackage i don't see any value for LOGFile passed from caller :( , This showed me the value "LOGS_some_time_stamp.txt" it is actually correct.But i got error on the WriteLOG function saying no value is initialized for |$LOGFile| ... I am totally stuck... can anybody share their thoughts? Any idea i can use built in module which does similar work of logging... Thanks, ShekarKCB.
In Section
Seekers of Perl Wisdom
|
|