#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2000
    Posts
    0
    Rep Power
    0
    Hi all,

    I have the Programming Perl book here, but I can't find this statement:

    perl -p -i -e 's/rn/~~CRLF~~/g' '$file'

    what are -p, -i, -e do? I see the code from someone else.

    Thank you very much.

    Nam.

    [This message has been edited by NamHN (edited October 31, 2000).]
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Aug 2000
    Location
    Indiana
    Posts
    614
    Rep Power
    15
    I'm not sure the specifics of each one, but they basically allow you to run a tiny perl program without even writing a script. In other words, you type that into the command prompt and it'll compile your code and run it.

IMN logo majestic logo threadwatch logo seochat tools logo