Because you seem to have been asking several questions about scoping and
packages, etc. I found the following link extremely enlightening when
first tackling this subject:
http://perl.plover.com/FAQs/Namespaces.html
http://danconia.org
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additiona
Never mind, I figured it out by put add the $ infront like:
> print $mystuff::a;
> print $mystuff::b;
Hope this help any newbies getting into package.
-rkl
> Can a calling program reference a package variable?
>
> It's not working for me.
>
> test.pl
> ---
> use fruit;
>
> #I want to use thi
Can a calling program reference a package variable?
It's not working for me.
test.pl
---
use fruit;
#I want to use this like a stub or struct
#this does not work - it errored
print mystuff::a;
print mystuff::b;
#this work
mystuff::mixIt;
fruit.pm
--
package mixIt;
$a="apple";
$b=