Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^3: Why/how are these different?

by AnomalousMonk (Chancellor)
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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1016258]
[Tanktalus]: I think I'm "out there" somewhere. I sure don't feel like I'm "here" right now. :S
Discipulus psylocibina party?

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2017-09-22 21:05 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (269 votes). Check out past polls.