From: Chris R. <chr...@me...> - 2002-04-17 16:28:40
|
CZa...@wi... wrote: > Hello, I am trying to sort my output using "Net::LDAP::Control::Sort" but > I am getting this error syntax error at email_search.pl line 25, near "if > $ctrl " > I followed the example in the "Programming with Net::LDAP" guide slide " > #52". Is this correct or a typo.? > > if $ctrl && $ctrl->result; That probably should be: if ($ctrl && $ctrl->result) { with an appropriate } later on. Cheers, Chris |