variable function name

Discussion in 'Perl' started by Thomas Herger, Aug 16, 2004.

  1. Hi @ all

    I want to write the start of an function like this: $a . test($b) Is this
    possible?
    Is it possible to load diffrent functions with the same name from diffrent
    modules? How do I write this?

    THX and greets from Switzerland
     
    Thomas Herger, Aug 16, 2004
    #1
    1. Advertising

  2. Thomas Herger wrote:
    > I want to write the start of an function like this: $a . test($b)
    > Is this possible?


    What happened when you tried it?

    > Is it possible to load diffrent functions with the same name from
    > diffrent modules?


    Yes.

    > How do I write this?


    Use the fully qualified names.

    perldoc perlmod

    --
    Gunnar Hjalmarsson
    Email: http://www.gunnar.cc/cgi-bin/contact.pl
     
    Gunnar Hjalmarsson, Aug 16, 2004
    #2
    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. chunmok
    Replies:
    2
    Views:
    550
    llewelly
    Sep 2, 2003
  2. Bobby Chamness
    Replies:
    2
    Views:
    2,426
    Joe Smith
    Apr 22, 2007
  3. mfglinux
    Replies:
    11
    Views:
    736
    Roberto Bonvallet
    Sep 12, 2007
  4. AikidoGuy
    Replies:
    11
    Views:
    583
    Seebs
    Nov 21, 2011
  5. David Filmer
    Replies:
    19
    Views:
    267
    Kevin Collins
    May 21, 2004
Loading...

Share This Page