packages

Discussion in 'Perl Misc' started by Anno Siegel, Aug 24, 2005.

  1. Anno Siegel

    Anno Siegel Guest

    Greger <> wrote in comp.lang.perl.misc:
    > say I want to creat P1 and P2, but want them to live in file X.pm
    > is it possible to store two packages in one file?


    What happened when you tried it?

    You can put as many packages in a file as you want. Automatic importation
    is only done for the package whose name corresponds to the file name, if
    any.

    Anno
    --
    If you want to post a followup via groups.google.com, don't use
    the broken "Reply" link at the bottom of the article. Click on
    "show options" at the top of the article, then click on the
    "Reply" at the bottom of the article headers.
     
    Anno Siegel, Aug 24, 2005
    #1
    1. Advertising

  2. Anno Siegel

    Greger Guest

    Greger, Aug 24, 2005
    #2
    1. Advertising

  3. Anno Siegel

    Greger Guest

    Greger, Aug 24, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sandeep

    VHDL Packages

    Sandeep, Aug 13, 2003, in forum: VHDL
    Replies:
    1
    Views:
    5,224
    Egbert Molenkamp
    Aug 14, 2003
  2. Lolo
    Replies:
    3
    Views:
    615
  3. Paul  Smith
    Replies:
    0
    Views:
    759
    Paul Smith
    Nov 18, 2003
  4. David Lyon
    Replies:
    19
    Views:
    611
    David Lyon
    Apr 24, 2009
  5. Ian
    Replies:
    3
    Views:
    191
Loading...

Share This Page