mbravismore has asked for the wisdom of the Perl Monks concerning the following question:
I am required to come up with a Perl script that does LDAP lookups.The target system's Perl script will send the following name/value pairs via STDIN to my LDAP lookup script:
1. txtpatid= is the user ID number. 2. txtpatpw= is the user password. 3. txtpatserver= indicates the user's choice of "guest" or "user"
1. How do I make my script to accept these three (3) name/value pairs via STDIN? 2. How do I access these values from within my script? 3. How do I test such a call on Windows?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perl script that accepts parameters via STDIN (updated)
by LanX (Saint) on Nov 29, 2016 at 13:14 UTC | |
|
Re: perl script that accepts parameters via STDIN
by hippo (Archbishop) on Nov 29, 2016 at 14:23 UTC | |
|
Re: perl script that accepts parameters via STDIN
by stevieb (Canon) on Nov 29, 2016 at 13:23 UTC | |
by LanX (Saint) on Nov 29, 2016 at 13:31 UTC | |
by haukex (Archbishop) on Nov 29, 2016 at 13:43 UTC | |
by stevieb (Canon) on Nov 29, 2016 at 13:37 UTC |