Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
OTOH, there's a lot of "overcompensating" going on in Perl code, especially in forums like this in comp.lang.perl.misc. What I mean is things like using complicated code to avoid a warning, where it would have been easier to turn of warnings (or strict). Or to use several lines of Perl code (or an entire module) to avoid having to use system or backticks.

You might want to say that someone using

system cp => $from, $to and die "Eeps";
comes from a shell background and has just learned Perl from a (bad) book. But it might also be someone with 20 years of Unix experience, and 8 years of Perl experience who's just using the toolkit concept and can't be bothered with using a module. (Wait, that sounds like me).

I do use system more than I really, really have to, I've never used File::Find (or is it Find::File), prefering to read from a find pipe instead, I do use for (my $i = 0; $i < @arr; $i ++) even if I could use for my $i (0 .. $#arr) instead, and more "tell tale" signs of coming from a different background.

I think that Perl more than most other languages allow a programmer to keep using his/her unique, or carried over, style. That is, IMO, one of the good things of Perl.

To quote Geoff Gerrietts, in comp.lang.perl.misc article of 26 July 1996: Perl lays down like a wanton woman and lets me have my way with her.

Abigail


In reply to Re: "Native Perlish" by Abigail-II
in thread "Native Perlish" by spurperl

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 scrutinizing the Monastery: (5)
As of 2024-04-24 07:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found