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

Re: Re: Re: HTML embedded in perl

by flyfishin (Monk)
on Dec 18, 2002 at 16:43 UTC ( #220880=note: print w/replies, xml ) Need Help??


in reply to Re: Re: HTML embedded in perl
in thread HTML embedded in perl

Sorry, but you are incorrect. qq IS what you use to double quote text and have variables interpolated. q will single quote and not interpolate.

#!/usr/bin/perl -w

use strict;
my $text = "INSERTED TEXT";
print qq! There is tome $text here \n!; # THIS INTERPOLATES
print q! There is some $text here \n!; # THIS DOESN'T

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2021-01-19 18:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?