Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

comment on

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

I firmly believe that if I knew back then, what I know now, the money would have taken care of itself.

I'd be foolish to disagree, but I think life would be so much simpler if:

my $goal = "what is to be accomplished?"; my @tasks = qw( all the necessary steps to get there ); if ( absolutely_necessary($goal) ) { do work(@tasks) or die "$!, but the rest of us forge on"; } elsif ( want_to_accomplish($goal) ) { do work(@tasks); }

Could be reduced to:

my $goal = "what is to be accomplished?"; my @tasks = qw( all the necessary steps to get there ); do work(@tasks) if ( want_to_accomplish($goal) );

Everybody writes their own sub work and sub want_to_accomplish of course. I suppose even sub absolutely_necessary is subjective in part, but there is apt to be a great deal of commonality there. Besides, isn't completely eliminating it a nice thought? The disappearance of the or die is a nice (or possibly horrifying?) thought too. :-)

Just another Perl hooker - will code for food

In reply to Re^4: If I found the source code for the Universe, the first thing I'd do: by perldigious
in thread If I found the source code for the Universe, the first thing I'd do: by chacham

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
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2022-09-27 12:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (119 votes). Check out past polls.

    Notices?