Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW


by Nkuvu (Priest)
on Dec 06, 2002 at 19:46 UTC ( [id://218135]=user: print w/replies, xml ) Need Help??

Note the silly hat in accordance with PerlMonks Silly Hat Week. I know, the week's up. But I like the hat.

Eee, line end-y goodness:

Unix to DOS: perl -i -pe 's/\012/\015\012/g' unix-file DOS (Mac? I'm so confused) to Unix: perl -i -pe 's/\015\012/\012/g' mac-file

planetscape pointed to this nice reference page on the line endings (including a C++ utility file), ending my confusion.

Some simple links:

  • Chatterbox history
  • Markov Nkuvu
  • Linking:
    • By Title: [nodetitle]
    • By Node ID: [id://nodeid]
    • A Monk's Scratch Pad: [pad://monk name]
    • Module searches at [cpan://XML::Parser]
    • Jargon File Entries: [jargon://search terms]
    • Link titles: [|The Perl Monastery]
  • MS Visual C++ Compiler

Just went searching for this all over, and finally figured it out: The DOS record separator can be printed with chr(0x1E) which makes a ▲ character (that should be a triangle, useful for delimiting variables in print statements used for debugging). I saw it here on PM somewhere recently, but can't find it now... oh well, I figured it out.

My XP chart

-----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS d-(++) !s !a C++++ UBL+++ P+++ L+ E+ W+++ N !o K- w-- O- M+ V- PS PE Y+ PGP !tv !t !5 !X R* b+ DI++ D G e++ h+ r* z- ------END GEEK CODE BLOCK------

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2024-07-25 10:02 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    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.