in reply to Re^4: How to return a two dimensional array from a function in Perl?
in thread How to return a two dimensional array from a function in Perl?
This prints:use strict; use warnings; print "&&: "; print 1 && 1 ? 0 : 1; print "\nand: "; print 1 and 1 ? 0 : 1;
So, if you don't mind your code doing completely unexpected things, then you don't need to distinguish between "&&" and "and".&&: 0 and: 1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: How to return a two dimensional array from a function in Perl?
by BrowserUk (Patriarch) on Nov 03, 2008 at 15:36 UTC | |
by ikegami (Patriarch) on Nov 03, 2008 at 21:34 UTC | |
by BrowserUk (Patriarch) on Nov 03, 2008 at 22:57 UTC |