Re: multilinepattern match

From: James Willmore (jwillmore_at_myrealbox.com)
Date: 11/18/03

  • Next message: Jürgen Exner: "Re: counting in long variable in perl"
    Date: 17 Nov 2003 18:25:00 -0800
    
    

    genericax@hotmail.com (Sara) wrote in message news:<776e0325.0311171042.1adbfb60@posting.google.com>...
    <snip>
    > #!/usr/bin/perl -wd

    Just a suggestion ...
    when posting code, please avoid using the '-d' switch. I realize that
    it throws one into the debugger, but others may not. Given the
    various states of experience in Perl found in this newsgroup, this
    could confuse the not so experienced reader.

    Again - just a suggestion :-)

    > $_ = "a bunch of
    > stuff
    > is here..
    > end;
    > /
    > thats all
    > folks";

    Another suggestion is avoid setting '$_'. It's a special variable and
    one should avoid setting it. Again - I understand what you're trying
    to demonstrate, but those less experienced may not.

    Again - just a suggestion ;-)

    Jim
    (jwillmore _at_ adelphia _dot_ net)


  • Next message: Jürgen Exner: "Re: counting in long variable in perl"

    Relevant Pages

    • Re: multilinepattern match
      ... please avoid using the '-d' switch. ... > Another suggestion is avoid setting '$_'. ...
      (comp.lang.perl.misc)
    • Re: compilation problem with module function interface definition
      ... >> decimal floats start appearing, it would be wise for users to avoid ... > for numeric literals was a decimal KIND (as previously suggested ... I guess I sort of passed over that suggestion because I don't ...
      (comp.lang.fortran)
    • Re: (OT) Singing my same old sad song.
      ... they avoid the full text of what has been written, and claim the NEED to drive to work, ignoring such things as car pooling, making fewer trips to the store, shopping closer to home, and otherwise cutting back on miles driven. ... Nobody has suggested that anyone STOP driving, yet most of the responses have been dished out as though that WERE the suggestion. ...
      (rec.outdoors.rv-travel)
    • Re: How do I speed Up dataset.ReadXML????????
      ... Try my suggestion, using a text file where the separator is a control char, ... that avoid having to process the fields looking for ... embedded comma inside the values. ...
      (microsoft.public.dotnet.framework.compactframework)
    • Re[4]: [PHP] nested, referenced foreach & implicit current array pointer issues
      ... instead to avoid the reference, ... assignment. ... Yep, already did, 10x for the suggestion. ...
      (php.general)