Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

The Law of Inconsistent Assumptions

by dimar (Curate)
on Oct 19, 2004 at 15:18 UTC ( [id://400557]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ### fee_file.pl
    use strict;
    ...
    __END__
    Produces the warning message:
    Name "main::fee" used only once: possible typo at ...
    
  2. or download this
    ### foo_file.pl
    use strict;
    ...
    Produces the warning message:
    Name "main::fee" used only once: possible typo at ...
    
  3. or download this
    ### perl
    $foo = 1;
    
    ### python
    foo = 1
    
  4. or download this
    ### perl
    print "Hello $foo."         ### 19 chars
    
    ### python
    print "Hello "+foo+".",     ### 23 chars
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://400557]
Approved by Arunbear
Front-paged by DrHyde
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-04-19 05:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found