Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 pondering the Monastery: (6)
As of 2014-09-01 20:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (17 votes), past polls