Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^3: Why/how are these different?

by AnomalousMonk (Canon)
on Jan 31, 2013 at 08:51 UTC ( #1016258=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Why/how are these different?
in thread Why/how are these different?

[Use of warnings] often gives an insight into what Perl understands your code to be. (Athanasius)

perl-diddler: Another path to insight is to have Perl deparse your code for you (see B::Deparse and O):

>perl -wMstrict -MO=Deparse,-p -le "print qq{\$_ '$_'} for $_ = 3; $_-- >0; " Useless use of numeric gt (>) in void context at -e line 1. BEGIN { $^W = 1; } BEGIN { $/ = "\n"; $\ = "\n"; } use strict 'refs'; print("\$_ '${_}'") foreach (($_ = 3)); (($_--) > 0); -e syntax OK
Comment on Re^3: Why/how are these different?
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1016258]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2016-05-27 21:15 GMT
Find Nodes?
    Voting Booth?