Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Assigning Perl code snippet to a variable

by ungalnanban (Pilgrim)
on Mar 02, 2010 at 06:27 UTC ( #826079=note: print w/replies, xml ) Need Help??


in reply to Assigning Perl code snippet to a variable


The Advantages of the here string is we can write a set of instruction or a function with in this here string. then we can give this to eval.

here-doc/here-string allows us to print multi-line without worrying about the quotes and escaping that come with the standard method of the defining string.


--sugumar--
  • Comment on Re: Assigning Perl code snippet to a variable

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://826079]
help
Chatterbox?
[Corion]: GotToBTru: Sure - there is a long and sad story of many frantic cleanups that led us to implement this notification ;)
[LanX]: I told you the story about the “new" currency trading system of Dresdner Bank
[LanX]: ?

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (11)
As of 2017-03-29 11:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (347 votes). Check out past polls.