Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^4: Generate a truth table from input string

by toolic (Bishop)
on May 13, 2008 at 15:54 UTC ( #686308=note: print w/replies, xml ) Need Help??


in reply to Re^3: Generate a truth table from input string
in thread Generate a truth table from input string

or as use warnings; would say...
\1 better written as $1

and use diagnostics; would elaborate...

(W syntax) Outside of patterns, backreferences live on as variable +s. The use of backslashes is grandfathered on the right-hand side of +a substitution, but stylistically it's better to use the variable fo +rm because other Perl programmers will expect it, and it works better + if there are more than 9 backreferences.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2021-08-03 12:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My primary motivation for participating at PerlMonks is: (Choices in context)








    Results (38 votes). Check out past polls.

    Notices?