Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

I guess the methodologies and all this stuff was discussed sufficiently by others so I'll add just a few shameless plugs :-)

1) I agree it's very nice to have some kind of interactive interface to Perl for testing tiny snipets of code. I don't really like the perl -de1 hack os I also wrote my own interactive interface allowing me to enter more lines at once and so for. You can find it on my page. It evaluates the code only after you enter a line that ends with a semicolon, allows you to execute external commands or print the value of something, allows you to paste whole subroutines without trying to eval them in pieces (in here-doc like syntax) and so forth. I find it most helpfull. (Yes I know there is some completely unrelated PSH on CPAN. My PSH was released first, but I did not get the namespace registered with modules@cpan.org and didn't upload without registration.)

2) The backups. Of course you should not write anything without a version control system, but of course you can't check in every single change. Having to remember to make a backup every time you make some change is tedious and not all editors will do that for you. In case you are using Windows you may find my watch_dirs.pl helpfull. The script will backup everything you change in the directory every time you save it. Of course you'd better make sure you do not forget to turn this off ;-)

Jenda
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
   -- Rick Osborne

Edit by castaway: Closed small tag in signature


In reply to Re: My number 1 tip for developers. by Jenda
in thread My number 1 tip for developers. by BrowserUk

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • 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 admiring the Monastery: (6)
    As of 2024-09-20 10:49 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      The PerlMonks site front end has:





      Results (25 votes). Check out past polls.

      Notices?
      erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.