in reply to
Re: 'my' problems
in thread
'my' problems
Is this also true for ternary conditionals? I use stuff like
my $var = $condition ? "a" : "b";
[download]
all the time and never had any problems.
holli,
/regexed monk/
Comment on
Re^2: 'my' problems
Download
Code
Replies are listed 'Best First'.
Re^3: 'my' problems
by
chb
(Deacon)
on May 23, 2005 at 10:39 UTC
I should be more specific, as
dave_the_m
below: you get problems if you use statement modifiers on a
my
. AFAIK the ternary conditional is an expression.
[reply]
[d/l]
In Section
Seekers of Perl Wisdom