On Wed, 6 Feb 2002, Brett W. McCoy wrote:
> On Wed, 6 Feb 2002, Octavian Rasnita wrote:
>
> > I tried to print my email address when it is enclosed in < and > signs but
> > it didn't print anything.
> > The code:
> >
> > my $line;
> > $line= "";
> > # I also tried with $line = \";
> > print "$lin
On Wed, 6 Feb 2002, Octavian Rasnita wrote:
> I tried to print my email address when it is enclosed in < and > signs but
> it didn't print anything.
> The code:
>
> my $line;
> $line= "";
> # I also tried with $line = \";
> print "$line";
No need for the double quotes (it will try to interpolate
t;";
print $line;
Rob
-Original Message-
From: Richard Crawford [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 06, 2002 12:43 PM
To: Richard Crawford
Cc: Octavian Rasnita; [EMAIL PROTECTED]
Subject: Re: printing an email address
D'oh!
This won't work in Perl. For some r
D'oh!
This won't work in Perl. For some reason I thought I was answering a
PHP question. Damn flu.
My apologies if I confused anyone.
Richard
On Wed, 2002-02-06 at 09:34, Richard Crawford wrote:
> Try this:
>
> $line = "<[EMAIL PROTECTED]>";
>
> Alternatively,
>
> $line=htmlspecialchars(
Try this:
$line = "<[EMAIL PROTECTED]>";
Alternatively,
$line=htmlspecialchars("<[EMAIL PROTECTED]>");
On Wed, 2002-02-06 at 19:11, Octavian Rasnita wrote:
> I tried to print my email address when it is enclosed in < and > signs but
> it didn't print anything.
> The code:
>
> my $line;
> $lin
I tried to print my email address when it is enclosed in < and > signs but
it didn't print anything.
The code:
my $line;
$line= "";
# I also tried with $line = \";
print "$line";
Nothing is printed. It prints only if I don't use the < and > signs.
Thank you!
Teddy,
My dear email address is [EM