P
Pet Farrari
HI,
I want to use a perl script to add email folder, but the script I wrote
doesnt seem right.
Here is the code:
line 1: open(CYRADMIN, "| /usr/local/bin/cyradm --user testuser -s
testserver");
line 2: print CYRADMIN $password;
line 3: print CYRADMIN "\n";
line 4: close(CYRADMIN);
when I execute the above code, it shown me a "Password:" prompt waiting
for me to enter a password. But line 2 of the code is already written a
password to it. Can anyone tell me how to correct this error?
Thanks
S
I want to use a perl script to add email folder, but the script I wrote
doesnt seem right.
Here is the code:
line 1: open(CYRADMIN, "| /usr/local/bin/cyradm --user testuser -s
testserver");
line 2: print CYRADMIN $password;
line 3: print CYRADMIN "\n";
line 4: close(CYRADMIN);
when I execute the above code, it shown me a "Password:" prompt waiting
for me to enter a password. But line 2 of the code is already written a
password to it. Can anyone tell me how to correct this error?
Thanks
S