Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

I've been using Perl in various forms since Perl 3.0. I've tired to keep up with the latest developments, insights, and coding styles. I've gone from the age of chop to chomp, from It's like shell script to use strict/warnings, and from procedural to object oriented Perl.

I've gotten manuals and books and studied them. Throughout it all, I think my Perl coding ability is pretty good. Scripts and modules I've written have been floating around the Internet from one user to another. I'm thankful that others have found my work to be useful.

The problem is that I'm off in my own little isolated world. Yes, I've learned a lot through documentation, seeing examples, and picking up ideas on my own, but would you use a heart surgeon whose sole training is what he read on Wikipedia? Almost every job I've held, I've been the local Perl expert. Not that my Perl knowledge is so vast and great, it's that most of the people I work with aren't that good.

One of the Perl modules I've written has become fairly popular, and I'd like to publish it as part of CPAN. And, I'd like to take this opportunity to really help improve my Perl knowledge and code. I've written the module, and it's all documented via POD. I've used the POD to create a whole bunch of testing using Test::More. As far as I can tell, it's already to upload. What I'd like is to find someone or place that could mentor me. Review my code, tell me where it falls short and how I could improve it.

There are all sorts of questions I have. For example, I know what I am doing should work with Perl as old as Perl 5.8.8, and I do a <use 5.008008;> to verify this. However, should I make sure my code works with earlier versions of Perl? Are there still a lot of people out on Perl 5.6? Should I say To heck with people using software a decade old and say use 5.010;. Or, should I be saying use v5.10;? Are vstrings still used?

This is my problem. I want to improve my coding. I want to be able to post my modules on CPAN, and not have people say "You want to see something sad and tragic? Look at this module!. I've downloaded Perl modules from CPAN and looked at the code, but many CPAN modules are fairly old, and their coding style is dated.

So where do I go to get mentoring on my coding and programming style? I'm not looking for tutoring. I'm willing to pick up manuals and do that on my own. I simply want a code review, or a few hints. This isn't so much as How do I do such and such?, but whether I'm doing it correctly.


In reply to In Need of Mentoring by qazwart

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2021-05-13 03:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (134 votes). Check out past polls.

    Notices?