Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
What caught my perl newbie attention most is this script: Start.pl. As well as others that are offered for free by some sort of perl programmers in the WWW as a promotion of their names.

They use to do it all without counting on any additional PM. They look like the first people that came to live to America.

In this script case, she encloses all the code inside a HERE that is assigned to a variable.

Finally,

undef($@); eval $all_code; if ($@) {

and throws any error to the screen...

This is a tough way of programming, but I guess that everybody can learn a lot of it! Please, have a look also at the full documented page. That is also an important part of a good script, I guess : to be well understood.

This won a price some time ago, for being simple and very useful.

(Extreme programming?, nah!)

.{\('v')/}
_`(___)' __________________________

In reply to Re: Looking for examples of well-written modules by chanio
in thread Looking for examples of well-written modules by xdg

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 How to display code and escape characters are good places to start.
Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-16 19:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found