Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Style question: regex versus string builtin function

by eyepopslikeamosquito (Archbishop)
on Oct 02, 2007 at 07:46 UTC ( [id://642055]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if ( $line =~ /$DELIMITER/ ) { ...
    
  2. or download this
    if ( $line =~ /\Q$DELIMITER/ ) { ...
    
  3. or download this
    if ( index($line, $DELIMITER) >= 0 ) { ...
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://642055]
Approved by Corion
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-24 23:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found