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

Re: Can we use print <<HTML; twice in same file?

by GotToBTru (Prior)
on Aug 25, 2015 at 17:06 UTC ( [id://1139892]=note: print w/replies, xml ) Need Help??


in reply to [Solved]: Can we use print <<HTML; twice in same file?

It's very simple to test this.

$data = <<HTML; Here is my data! HTML $other = <<HTML; Here is some OTHER data! HTML print "$data\n$other\n";

Output:

Here is my data! Here is some OTHER data!
Dum Spiro Spero

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (7)
As of 2024-04-19 09:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found