in reply to Re^3: How to split big files with Perl ?
in thread How to split big files with Perl ?

Pseudocode is fine to demonstrate a concept, unfortunately, your concept needs some improvements to be practical, as mentioned above.

I will however revise it and make any corrections so user can copy and paste it.

I think that is an excellent exercise!

  • Comment on Re^4: How to split big files with Perl ?

Replies are listed 'Best First'.
Re^5: How to split big files with Perl ?
by james28909 (Deacon) on Dec 26, 2014 at 19:29 UTC
    Even revising it to "working state" produces errors as well. I wrote it very quickly as just an example anyway. Most of the code i post i do not plan on anybody using in their code, if anything it was just an example.

      You've been around here long enough. Consider your audience. The OP supposedly did a Google search on how to split a large file into parts and somehow missed the Unix split command. You only said your code was untested; more needed to be said to counter that level of cluelessness.

      1 Peter 4:10

      "Most of the code i post i do not plan on anybody using in their code"

      How are others supposed to know this? Perhaps a signature to reflect your position on this matter would be wise.