Re: LDAP server

2014-12-06 Thread Jitendra Barik
Hi David, I am trying to get active user in ldap. Regards, Jitendra On Fri, Dec 5, 2014 at 4:12 PM, David Precious dav...@preshweb.co.uk wrote: On Fri, 5 Dec 2014 10:05:20 +0530 Jitendra Barik jbarik...@gmail.com wrote: Could you please let me know please, why this code is not working as

Re: LDAP server

2014-12-06 Thread Natxo Asenjo
On Fri, Dec 5, 2014 at 5:35 AM, Jitendra Barik jbarik...@gmail.com wrote: Hi All, Could you please let me know please, why this code is not working as I am trying to validate my email id to my mail server? my $ldap_server = google.com; # or some local mail server my $ldap = Net::LDAP -

Re: why is if (! @ARGV) skipped

2014-12-06 Thread Harry Putnam
Brandon McCaig bamcc...@gmail.com writes: Hope that helps. Yes it does. Thanks for the continuing review and criticism much needed in my case... -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Make scalar tainted

2014-12-06 Thread Артём Варнайский
Hello again! Prompt me please elegant and 'vanilla' way to taint some scalar. My vars lost their taint when I just split external string with regexp on param/val pairs, without checking them for correctness. And What do you say about this: $foo.=substr($ENV{PATH},0,0); #$foo tainted if

Re: Make scalar tainted

2014-12-06 Thread Paul Johnson
On Sat, Dec 06, 2014 at 05:48:36PM +0300, Артём Варнайский wrote: Hello again! Prompt me please elegant and 'vanilla' way to taint some scalar. My vars lost their taint when I just split external string with regexp on param/val pairs, without checking them for correctness. And What do you

Re: Make scalar tainted

2014-12-06 Thread Ron Bergin
Артём Варнайский wrote: Hello again! Prompt me please elegant and 'vanilla' way to taint some scalar. My vars lost their taint when I just split external string with regexp on param/val pairs, without checking them for correctness. And What do you say about this:

Re[2]: Make scalar tainted

2014-12-06 Thread Артём Варнайский
Paul Johnson wrote: I'm not sure whether there is a more elegant or more vanilla way to do that. Appending the zero length substr is also the way it is done in the perl core. You would normally take the substr from the original string before splitting it, unless you wanted to taint $foo even if