Just to note, this isn't MacPerl any more, it's just ... Perl running on MacOSX. OSX is UNIX-like.That's what I thought, but wasn't sure; hence the Mac perl, not MacPerl. Are there editors that have \x0D as newline convention while the OSX perl is expecting \x0A? Or vice versa?
And I don't think the original poster was asking about Perl programs written in the command line, only about programs run from the command line.If it is a line-ending problem, pasting an example will probably hide the evidence. Maybe stick something likeIt might be a line-ending problem of another kind, but I second the "please provide examples" post above.
at the beginning of the source and run it and show the output. I don't remember if the Data::Dumper in 5.6.0 had the Useqq option, though.BEGIN { use Data::Dumper; $Data::Dumper::Useqq=1; open FOO, $0 or die +"nope: $!" ; print Dumper $_ while <FOO>; exit }
In reply to Re: Re: Re: Comments trouble
by ysth
in thread Comments trouble
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |