Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Re: 'Using' modules

by hotshot (Prior)
on Aug 28, 2003 at 05:35 UTC ( #287253=note: print w/ replies, xml ) Need Help??

in reply to Re: 'Using' modules
in thread 'Using' modules

but I can't just do:

use ''; # or use '';
It shouts for syntax error, use argument suppose to be a module name, not a file name, so what else can I do?


Comment on Re: Re: 'Using' modules
Download Code
Replies are listed 'Best First'.
Re: Re: Re: 'Using' modules
by Anonymous Monk on Aug 28, 2003 at 06:47 UTC
Re3: 'Using' modules
by dragonchild (Archbishop) on Aug 28, 2003 at 12:42 UTC
    Try require, then. Or, rewrite so that it fits the model for use. (I recommend the latter, simply because it's generally better.)

    We are the carpenters and bricklayers of the Information Age.

    The idea is a little like C++ templates, except not quite so brain-meltingly complicated. -- TheDamian, Exegesis 6

    Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://287253]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2015-11-27 04:20 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (717 votes), past polls