in reply to Win98 &
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (Ovid) Re: Win98 &
by Anonymous Monk on Jan 08, 2001 at 08:18 UTC |