Rob Dixon wrote:
Albert Browne wrote:
Thirdly, the test
if ($Author ne "")
is tidier written as
if ($Author)
Unless of course $Author is 0 in which case you have changed the logic.
I often use 0 as the default user account id on websites that have user
registration, in which case empty
Albert Browne wrote:
>
> I am using the code below in part of a subroutine. It displays ok later in
> the routine within a block.
> But when I try to use $Meta elsewhere the string appears to be empty.
> Further investigation shows the string is ok until it gets to the >
> in the string. The stri
ED]
Sent: Friday, December 26, 2003 11:16 AM
To: [EMAIL PROTECTED]
Subject: Newbie problems with > in a string
I am using the code below in part of a subroutine. It displays ok later
in
the routine within a block.
But when I try to use $Meta elsewhere the string appears to be empty.
Further investi
I am using the code below in part of a subroutine. It displays ok later in
the routine within a block.
But when I try to use $Meta elsewhere the string appears to be empty.
Further investigation shows the string is ok until it gets to the >
in the string. The string looks like this and does in t