MysticFallout has asked for the wisdom of the Perl Monks concerning the following question:
$something = ($hmm == "")?"some":"thing";
I'm sure there is something like this in perl, but I cant find anything really. I cant even remember what this is called.
Thank you for any and all help.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: alternative to if statements
by broquaint (Abbot) on Feb 10, 2004 at 12:47 UTC | |
|
Re: alternative to if statements
by Abigail-II (Bishop) on Feb 10, 2004 at 12:56 UTC | |
by MysticFallout (Initiate) on Feb 10, 2004 at 13:10 UTC | |
by florg (Friar) on Feb 10, 2004 at 13:14 UTC | |
by Abigail-II (Bishop) on Feb 10, 2004 at 13:44 UTC | |
by blue_cowdawg (Monsignor) on Feb 10, 2004 at 13:46 UTC | |
by Abigail-II (Bishop) on Feb 10, 2004 at 13:56 UTC | |
by jdtoronto (Prior) on Feb 10, 2004 at 16:57 UTC | |
|
Re: alternative to if statements
by Old_Gray_Bear (Bishop) on Feb 10, 2004 at 12:50 UTC |