Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: use a variable in ldapsearch filter

by AnomalousMonk (Bishop)
on Mar 28, 2020 at 01:17 UTC ( #11114745=note: print w/replies, xml ) Need Help??


in reply to use a variable in ldapsearch filter

Are you aware that single-quoted strings do not interpolate?

c:\@Work\Perl\monks>perl -wMstrict -le "my $name = 'foobleooble'; print '(sn = $name)'; " (sn = $name)


Give a man a fish:  <%-{-{-{-<

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11114745]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2020-05-30 13:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (172 votes). Check out past polls.

    Notices?