Also, you've specified a subroutine AND a scalar. Which is it? foo($text) is a function that you're calling and $main::foo is accessing the scalar $foo in package main.
Cheers,
Ovid
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
In reply to (Ovid) Re: Win98 &
by Ovid
in thread Win98 &
by mycroft_
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |