Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^4: Reading sourcecode at parsing/compilation (CHECK) time? (Ticket)

by Anonymous Monk
on Apr 05, 2010 at 14:26 UTC ( [id://832815]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Reading sourcecode at parsing/compilation (CHECK) time? (Ticket)
in thread Reading sourcecode at parsing/compilation (CHECK) time?

I don't think the error is in the module; the error is that you shouldn't use that kind of while loop without localizing $_.

More examples are at http://wiki.perl-community.de/Wissensbasis/PerlFallen#Lesen_aus_Datei_und (in German, sorry).

Replies are listed 'Best First'.
Re^5: Reading sourcecode at parsing/compilation (CHECK) time? (Ticket)
by LanX (Saint) on Apr 05, 2010 at 14:48 UTC
    I don't think the error is in the module;

    maybe "error" is too much to say, let's call it good style not to unnecessarily rely on that foreign code doesn't change $_.

    At least this module violates several style rules from the same author...

    Cheers Rolf

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-03-29 12:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found