On Wed, Jan 5, 2011 at 10:50 PM, Brian Fraser <frase...@gmail.com> wrote:

>
> On Wed, Jan 5, 2011 at 10:42 PM, jbiskofski <jbiskof...@gmail.com> wrote:
> Brian, thanks for the quick reply. I apologize if its not the correct
> etiquete to reply directly to you, this is the first time Ive had to
> recur to the mailing lists.
>
> I've made sure my string does not have a \n at the end. Ive chomped it
> and inspected it in several ways, if I open the resulting file in 'vi'
> theres no newline at the end, yet in a hex editor it shows up there,
> at the end. I may be wrong but I think this may be related to how perl
> writes files...  ?
>
> Thanks again and happy new year.
>
> -Jose
>
>
> It's no problem - You should just CC beginners@perl.org for all replies.
> That way, your mails will get to everyone.
>
> I wouldn't think it as being Perl-related, but who knows; A small test:
>
> use strict;
> use warnings;
> use 5.010;
>
> open my $fh, '>', 'some_file_that_doesnt_exist.txt';
>
> say { $fh } "I'm a test.";
> print { $fh } "I'm another test\n";
>
> Does this result in the same behavior? Also, you might wish to CC the
> openssl error - Mostly because I find it unlikely that a trailing empty line
> would break anything : )
>
> Brian.
>

You know, CC the entire list. The exact opposite of what I just did. Doh.
Apologies for the duplicate, Jose!

Reply via email to