Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Relationship between chomp() operator and STDIN

by Random_Walk (Prior)
on Apr 30, 2013 at 05:17 UTC ( #1031322=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl 
    print "Please enter your name\n";
    ...
    __DATA__
    aaa
    A new line to show the above ends in \n
    
  2. or download this
    R@Che ~/PerlTest $ ./name.pl 
    Please enter your name
    Thank you aaaR@Che ~/PerlTest $
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2019-08-21 03:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?