develooper Front page | perl.perl5.porters | Postings from February 2000

ClearCase and perl module loading?

Thread Next
Mark Mielke
February 24, 2000 12:08
ClearCase and perl module loading?
Message ID:
Hello all,

I was wondering what people would think of a patch to perl that would
allow the following to work:

    use Module v1.0;   # Currently just fails if the module isn't at least 1.0
    use Module "@@/main/03";  # Would load instance named by stream /main/03.

I wouldn't even care if:

    use ClearCase;

Was necessary ahead of time.

I tried fiddling with putting a CV in @INC, but I don't think I fully
understand how that works. Any documentation or hints?

Thank you,

P.S. For those that are not familiar with ClearCase, it allows users
     to access their revision controlled software that they are working
     on as if the object were normal files. One decides using some
     magical syntax, which files you want to be visible to you in
     your view, but if you want to reference a specific instance
     of a module, you append "@@INSTANCE" to the filename.

         ..../            - selected by your view
         ..../  - Instance 2 of in the main branch.

     The reason why this might be necessary is so that the module
     dependencies resolve correctly, without considering the what
     configuration the user has in their view. The current scheme
     required is:

          BEGIN {
              require "";
              import Blah;

     I'm just wishing for a:

          #use ClearCase;          # If it can be done from a module...
          use Blah "@@/someTag";

-- __________________________
.  .  _  ._  . .   .__    .  . ._. .__ .   . . .__  | SIR Tools          (7H12)
|\/| |_| |_| |/    |_     |\/|  |  |_  |   |/  |_   | Nortel Networks
|  | | | | \ | \   |__ .  |  | .|. |__ |__ | \ |__  | Ottawa, Ontario, Canada

  One ring to rule them all, one ring to find them, one ring to bring them all
                       and in the darkness bind them...


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About