in reply to Re: How can i debug compound map/grep statements just using print?
in thread How can i debug compound map/grep statements just using print?
No.
Karls-Mac-mini:~ karl $ perl -e 'print 2*60*60;' 7200
perl -e 'print scalar( grep { $_ == 1 } (0,0,0) );' # nothing found 0
perl -e 'print scalar( grep { $_ == 1 } (1,0,0) );' # one found 1
«The Crux of the Biscuit is the Apostrophe»
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How can i debug compound map/grep statements just using print?
by Kenosis (Priest) on Dec 01, 2012 at 21:39 UTC | |
by karlgoethebier (Abbot) on Dec 01, 2012 at 23:22 UTC | |
by Kenosis (Priest) on Dec 01, 2012 at 23:59 UTC | |
by karlgoethebier (Abbot) on Dec 02, 2012 at 00:20 UTC | |
by Kenosis (Priest) on Dec 02, 2012 at 01:56 UTC | |
by karlgoethebier (Abbot) on Dec 02, 2012 at 00:03 UTC | |
by Kenosis (Priest) on Dec 02, 2012 at 01:55 UTC |