The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cpanel perl how?

Discussion in 'General Discussion' started by jfet, Apr 24, 2008.

  1. jfet

    jfet Registered

    Joined:
    Apr 24, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    hi all. I'd like to ask an advanced question, looking for somebody who is more familiar with cpanel's heart.
    i'd like to write a perl prog (postwwwact), that creates a parked domain automatically to every new domain.
    i'd like to use Cpanel::Park's Cpanel::Park->park(%parameters) function, but i'm stucked , i don't know how to call it properly (Undefined subroutine &main::hasfeature called at...)
     
  2. jfet

    jfet Registered

    Joined:
    Apr 24, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    solved

    Okay, i have solved it, by skipping every safetycheck (trusting in postwwwacct's true data) called directly the functions that Cpanel::Park::park(%vars) does.

    --
    let the --force be with you
     
Loading...

Share This Page