perl -014pe

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View


  I saw the following code about splitting a file into several pieces:

   perl -014pe 'open(STDOUT,">fred.$.")' fred

  I couldn't find what -014 means. Please advise.

  Thanks in advance.


Re: perl -014pe

Quoted text here. Click to load it

perl -h

Usage: .....
  -0[octal]  specify record separator (, if no argument)

Re: perl -014pe

In article

Quoted text here. Click to load it

See 'perldoc perlrun':

"Switches include:

     specifies the input record separator ($/) as an octal or
     hexadecimal number. "

Jim Gibson

Re: perl -014pe

Thanks all for your help.

Site Timeline