Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Regex error when [] occurs in file..

by moritz (Cardinal)
on Mar 03, 2008 at 15:38 UTC ( [id://671666]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if ($temp =~ /#/){
            $temp =~ s/#$'//;
    }
    
  2. or download this
    my $varaible = '[a-z]';
    m/\Q$variable\E/  # matches literal [a-z], not a character class.
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2025-01-13 14:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which URL do you most often use to access this site?












    Results (32 votes). Check out past polls.