Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: syntax for while substr

by CukiMnstr (Deacon)
on Apr 16, 2002 at 17:58 UTC ( [id://159576]=note: print w/replies, xml ) Need Help??


in reply to syntax for while substr

i think you want
while ((substr$_,0,19) !~ /objectclass: person/) { ... }

the "does not match" operator is !~, and not <>~

hope this helps,

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2024-03-28 15:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found