RE: heredoc

2001-08-08 Thread Mooney Christophe-CMOONEY1
This seems to work: @array=split /\n/,

Re: heredoc

2001-08-08 Thread Troy Denkinger
On Wednesday 08 August 2001 13:40, Ron Woodall wrote: > How do I take a heredoc section and write it to an array? Any suggestions? Hmmm, at the risk of not being helpful, can you explain what it is you're wanting to do? If you're wanting to save strings to an array and then iterate over t

Re: heredoc

2001-08-08 Thread Ron Woodall
Hi Troy: Thanks for the reply. At 01:11 PM 8/8/01 -0400, you wrote: >On Wednesday 08 August 2001 13:40, Ron Woodall wrote: > > How do I take a heredoc section and write it to an array? Any > suggestions? > >Hmmm, at the risk of not being helpful, can you explain what it is you're

Re: heredoc issure

2007-07-18 Thread Chas Owens
On 7/18/07, lnatz <[EMAIL PROTECTED]> wrote: Hi, I'm having an issue with here docs, and I'm sure it's something simple that I'm overlooking but it's annoying me. Here is a snippet from my script. snip Its failing with the error: Can't find string terminator "EOF" anywhere before EOF at exec_rn

Re: heredoc issure

2007-07-18 Thread Rob Dixon
lnatz wrote: Hi, I'm having an issue with here docs, and I'm sure it's something simple that I'm overlooking but it's annoying me. Here is a snippet from my script. sub usageAndDie { print<> The following single-character otions are accepted: >>wih arguments: -T -S >>without ar

Re: heredoc issure

2007-07-18 Thread John W. Krahn
lnatz wrote: Hi, I'm having an issue with here docs, and I'm sure it's something simple that I'm overlooking but it's annoying me. perldoc -q "HERE documents" John -- Perl isn't a toolbox, but a small machine shop where you can special-order certain sorts of tools at low cost and in short ord

RE: heredoc issure

2007-07-19 Thread christopher . l . hood
I think that Rob was onto something, here is my 2 cents.   The print line should be like this:    print <   and not   print< < EOF   like you have.  I think maybe that what is happening is that the error that is being printed is saying that it cannot find “EOF” before end of file

Re: heredoc issure

2007-07-19 Thread Rob Dixon
[EMAIL PROTECTED] wrote: lnatz wrote: Hi, I'm having an issue with here docs, and I'm sure it's something simple that I'm overlooking but it's annoying me. Here is a snippet from my script. sub usageAndDie { print< < EOF; >> The following single-character otions are accepted: >> wih argument