If I create a module (let's call it Test.pm), put it in the GT folder, then reference it in my cgi using:
use GT::Test;
How do I reference a variable I have set within Test.pm? Let's say I have a variable called $testvar that is set in the Test.pm module, and I want to reference it in my cgi script. What is the syntax for pulling the variable into my cgi script?
(I'm new to perl... Can you tell? )
Sean
use GT::Test;
How do I reference a variable I have set within Test.pm? Let's say I have a variable called $testvar that is set in the Test.pm module, and I want to reference it in my cgi script. What is the syntax for pulling the variable into my cgi script?
(I'm new to perl... Can you tell? )
Sean