Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^6: Perl VS Python

by ruzam (Curate)
on Oct 19, 2009 at 23:48 UTC ( [id://802117]=note: print w/replies, xml ) Need Help??


in reply to Re^5: Perl VS Python
in thread Perl VS Python

Huh?

In Perl you might write

printf("Hello %s! Today is %s!", 'John', 'Thursday');

At least try to make an apples to apples comparison.

Replies are listed 'Best First'.
Re^7: Perl VS Python
by Anonymous Monk on Oct 19, 2009 at 23:56 UTC
    Myopic much? named sprintf compared to named sprintf
    print "Hello $name! Today is $day!\n"

      Just trying to stay in the same fruit category as the original Python example :)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-10-07 20:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (44 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.