Think about Loose Coupling | |
PerlMonks |
Passing vars to commandby Anonymous Monk |
on Sep 30, 2002 at 21:07 UTC ( [id://201842]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi Sorry to be a pain, but i have something that is probably simple for most of you, but a real pain for me. I have the variables: $password (contains password) $domain (contains domain name e.g bar.com) $username (contains users name) $fullname (contains something like billy bob, but needs to be passed as "billy bob")<br and they need to be passed like this: AddVirtUser tpasswd=$password $domain $username $fullname 500 0 0 0 (The 500 specifies user disk quota, and the 0 0 0 specifies whether the user can use telnet,ftp,smtp) my current code looks like this:
Back to
Seekers of Perl Wisdom
|
|