in reply to Re^2: Where and when you should place 'use module;'?
in thread Where and when you should place 'use module;'?
I like to compare the package statement to the effects of cd. And if you do:
you get "no such file or directory". But that doesn't mean the link /Foo/cmpthese has ceased to exist.cd /Foo # package Foo; ln /Benchmark/cmpthese cmpthese # use Benchmark qw{cmpthese}; cd ~ # package main; ./cmpthese # cmpthese();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Where and when you should place 'use module;'?
by fishbot_v2 (Chaplain) on Oct 12, 2005 at 14:23 UTC | |
by Moron (Curate) on Oct 12, 2005 at 15:01 UTC | |
by revdiablo (Prior) on Oct 12, 2005 at 15:22 UTC | |
by Perl Mouse (Chaplain) on Oct 12, 2005 at 15:36 UTC | |
by Moron (Curate) on Oct 12, 2005 at 15:27 UTC | |
by revdiablo (Prior) on Oct 12, 2005 at 15:30 UTC | |
by fishbot_v2 (Chaplain) on Oct 12, 2005 at 16:32 UTC | |
by Moron (Curate) on Oct 13, 2005 at 11:37 UTC |