Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: Re: Using require

by kidd (Curate)
on Jul 10, 2002 at 17:13 UTC ( #180808=note: print w/replies, xml ) Need Help??

in reply to Re: Using require
in thread Using require

I have $option without the my and added the use vars; inside the

Still doesnt work, maybe Im doing something wrong...

Replies are listed 'Best First'.
Re: Using require
by Abigail-II (Bishop) on Jul 10, 2002 at 17:18 UTC
    Well, you don't shows it what you did, nor the error message you got, so it's hard to respond. However, you say use vars;, which suggest you are not using this pragma right. Do you know what use vars does? If not, why do you use it in your program? Never, ever use something in your program just because you heard it on Perlmonks, read it in the newspaper, or saw in on television. First read the manual page - and only when you understand you are allowed to use it.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://180808]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2018-01-21 15:38 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (228 votes). Check out past polls.