Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Iteration and Scoping section confusing #238

Open
dagolden opened this issue Jul 14, 2014 · 0 comments
Open

Iteration and Scoping section confusing #238

dagolden opened this issue Jul 14, 2014 · 0 comments

Comments

@dagolden
Copy link

A Perl newbie on my team was thrown by the examples in the Iteration and Scoping section relating to the topic_mangler function.

The topic_mangler function in the top example is very different than the bottom one: the bottom takes an argument whereas the top one does not (and the top loop doesn't pass an argument). The bottom one has a confusing comment about # was $_ = shift but that line doesn't appear in any other example.

I spent some time scratching my head trying to figure out what the section was trying to illustrate and then translate it effectively for the newbie, so if I'm confused, it probably needs a re-write.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants