Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
But now I just want to do this:print "data is " , $mac eq $old ? "SAME" : "DIFF" , "\n";
but it doesnt work. What am I doing wrong?$mac eq $old ? "SAME" : "DIFF" , "\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: conditions not working
by davido (Cardinal) on Sep 29, 2003 at 19:43 UTC | |
|
Re: conditions not working
by waswas-fng (Curate) on Sep 29, 2003 at 19:41 UTC | |
|
Re: conditions not working
by vbrtrmn (Pilgrim) on Sep 29, 2003 at 20:49 UTC | |
|
Re: conditions not working
by welchavw (Pilgrim) on Sep 29, 2003 at 19:39 UTC | |
by davido (Cardinal) on Sep 29, 2003 at 19:49 UTC |