Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Idiomatic Perl?

by haukex (Archbishop)
on Mar 21, 2018 at 09:07 UTC ( [id://1211400]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
    my $pattern = prompt("Gimme a RegEx: ");
    print $str=~$pattern ? "Yes!" : "No.", "\n";
    print "kthxbye\n";
    
  2. or download this
    use Acme::Pythonic;
    use warnings
    ...
        else:
            print("No.\n")
    print("kthxbye\n")
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-03-29 10:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found