id007 has asked for the wisdom of the Perl Monks concerning the following question:
The following line throws error, don't know why.
my $stmt = join " ", "select * from dbo.server" , ($orderby) ? ";","or +der by $orderby;" ;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using join and ternary operator together
by Corion (Patriarch) on Sep 10, 2013 at 11:17 UTC | |
|
Re: Using join and ternary operator together
by hdb (Monsignor) on Sep 10, 2013 at 11:27 UTC | |
by keszler (Priest) on Sep 10, 2013 at 12:42 UTC | |
|
Re: Using join and ternary operator together
by id007 (Initiate) on Sep 11, 2013 at 02:50 UTC | |
by boftx (Deacon) on Sep 11, 2013 at 03:04 UTC | |
by AnomalousMonk (Archbishop) on Sep 11, 2013 at 04:04 UTC | |
by boftx (Deacon) on Sep 11, 2013 at 22:43 UTC |