in reply to Re^6: Perl Builds an LDIF
in thread Perl Builds an LDIF
Your code:
probably does not do what you think it does - and I'm curious to know what you think it does.if ( $result != /dn:/ )
You probably want to see if $entry contains "dn" and negate that:
if ( $entry !~ /dn:/ )
Syntactic sugar causes cancer of the semicolon. --Alan Perlis
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: Perl Builds an LDIF
by rfransix (Novice) on Jun 17, 2010 at 20:01 UTC | |
|
Re^8: Perl Builds an LDIF
by rfransix (Novice) on Jun 17, 2010 at 20:15 UTC | |
by NetWallah (Canon) on Jun 18, 2010 at 00:56 UTC | |
by rfransix (Novice) on Jun 21, 2010 at 21:42 UTC | |
by NetWallah (Canon) on Jun 23, 2010 at 04:52 UTC | |
by rfransix (Novice) on Jun 23, 2010 at 14:51 UTC |