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

Re: Re: Help with passing through a package...

by basicdez (Pilgrim)
on Jan 31, 2002 at 22:38 UTC ( #142536=note: print w/replies, xml ) Need Help??


in reply to Re: Help with passing through a package...
in thread Help with passing through a package...

I am using the full name, do you know why it is not passing through? I am very stumped with this one. I am trying to declare one table to use throughout a larger set of programs, it is not only about passing through one variable, this is merely the tip of the iceberg. please help me if you can.
  • Comment on Re: Re: Help with passing through a package...

Replies are listed 'Best First'.
Re: Re: Re: Help with passing through a package...
by wog (Curate) on Jan 31, 2002 at 22:45 UTC
    I meant use that using fullname in XPCONF2.pm (and not my or anything else) was one option; I wasn't (purposely) suggesting that you'd need to change what's in your main script. What you are doing now in the .pm file is referring to a seperate variable declared with my when you do the assignment.
      I really appreciate your help, but could you help me to understand what you are saying. Are you saying that I should use X2PCONF::Num_OF... in X2PCONF.pm? I am sorry I am quite confused on this one.
        I'm saying you can do that OR you can declare $Num_OF... in X2PCONF.pm with use vars OR you can declare it with our in X2PCONF.pm. (Note that the last option requires perl version 5.6 or greater.)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2021-03-08 13:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (124 votes). Check out past polls.

    Notices?