in reply to ldapsearch in perl
Is your code example complete?
What is happening when you execute your code, what is not? Any warnings or errors?
Your are defining a subroutine Check, but you never call it. So I assume you missed to call Check for execution.
#! /usr/bin/perl use strict; use warnings; sub foo { print "I am foo().\n"; } # call foo or nothing (visible) will happen foo();
|
---|
In Section
Seekers of Perl Wisdom