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

bug or feature? $A++ certainly :)

by stefp (Vicar)
on Jun 05, 2002 at 19:55 UTC ( [id://171973]=obfuscated: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $A += ('(A)' =~ m(\(A\)))[0] == ('(A)' =~ m((A)))[0];
    $A += ('(A)' =~ m|\(A\)|)[0] == ('(A)' =~ m|(A)|)[0];
    
  2. or download this
    DB<1> $a = qr((a));     print "'$a'  "; print '(a)' =~ m|$a|
    '(?-xism:(a))'  a
    ...
    '(?-xism:\\(a\\))'  
    DB<4> $a = qr|\(a\)|;   print "'$a'  "; print '(a)' =~ m|$a|
    '(?-xism:\(a\))'  1
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-24 16:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found