in reply to What does the Filter::Crytpo module do to the DATA section?

And why are you using DATA section?
  • Comment on Re: What does the Filter::Crytpo module do to the DATA section?

Replies are listed 'Best First'.
Re^2: What does the Filter::Crytpo module do to the DATA section?
by ikegami (Patriarch) on Feb 08, 2010 at 05:27 UTC

    Why not? The following would also do, though

    $result->Append("$_\r\n\") for split /^/m, <<'__EOI__'; This is LINE1 This is LINE2 This is LINE3 __EOI__

    What I question is the use of \n\r\n as the line terminator.

Re^2: What does the Filter::Crytpo module do to the DATA section?
by ZJ.Mike.2009 (Scribe) on Feb 06, 2010 at 11:33 UTC
    I know I don't have to include data in the data section but it feels neat to have code and data together in one single script.
        Thanks, Anonymous Monk