interpolation helps alot
authorivan <ivan>
Sat, 12 Nov 2005 00:44:43 +0000 (00:44 +0000)
committerivan <ivan>
Sat, 12 Nov 2005 00:44:43 +0000 (00:44 +0000)
FS/FS/part_export/cpanel.pm

index 278c80f..0ad00df 100644 (file)
@@ -116,7 +116,7 @@ sub cpanel_insert { #subroutine, not method
   #$req->authorization_basic($user, $accesshash);
 
   my $res = $ua->request(
-    POST( 'http://$user:$accesshash@$domain:2082/frontend/x/mail/addpop2.html',
+    POST( $url,
           [ 
             'email'    => $username,
             'domain'   => $domain,