Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: Re: Trubs with HERE docs

by extremely (Priest)
on Sep 05, 2001 at 20:35 UTC ( #110344=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Trubs with HERE docs
in thread Trubs with HERE docs

Well, if you are assigning the value rather than printing it directly you can do this ugliness:

(my $k= q( Blah Blah Blah Blah Blah Blah )) =~ s/^\s+|(?s:\s+$)//gm; print "<<$k>>\n";

*shame*

--
$you = new YOU;
honk() if $you->love(perl)


Comment on Re: Re: Re: Trubs with HERE docs
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (18)
As of 2015-07-28 11:30 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 (254 votes), past polls