Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^5: Common Perl Pitfalls

by JavaFan (Canon)
on Apr 10, 2012 at 23:19 UTC ( [id://964419]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $pat = qr/PAT/;
    
  2. or download this
    $pat = q/PAT/;
    
  3. or download this
    $pat = 'PAT';
    
  4. or download this
    $pat = '(?x:foo bar)';  # Works fine
    
  5. or download this
    my $pat1 = 'PAT1';
    my $pat2 = 'PAT2';
    $str =~ /$pat1$pat2/;
    
  6. or download this
    my $pat1 = qr/PAT1/;
    my $pat2 = qr/PAT2/;
    $str =~ /$PAT1$PAT2/;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-03-29 14:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found