Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: breaking a line on printing

by Tyke (Pilgrim)
on Mar 19, 2002 at 10:06 UTC ( #152698=note: print w/ replies, xml ) Need Help??


in reply to breaking a line on printing

Have you looked at the 'heredoc' notation?

#!/usr/bin/perl use strict; use warnings; print <<_END_; Once upon a time there was a little programmer that asked too many que +stions. Today his question wasn't realy a stupid one. And so on and on.. _END_
Not a perfect solution with regards to code indentation, but still very useful


Comment on Re: breaking a line on printing
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (16)
As of 2015-07-29 18:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (267 votes), past polls