in reply to Re: Re: format function
in thread format function


You are correct. They are valid.

When I ran mhearse's example code I got the following error:

Array found where operator expected at format.pl line 17, at end of +line (Missing operator before ?) syntax error at format.pl line 17, near "@ @ @ @ "
I misinterpreted this to mean that the bare @'s were the problem. However, as you point out, they are in fact valid and the error comes from the line wrapping around.

In which case, I can't say what is the problem. Setting $= to 600 or any other value works fine for me with perls from 5.00405 onwards.

--
John.

Replies are listed 'Best First'.
Re: Re: Re: Re: format function
by mhearse (Chaplain) on Oct 02, 2003 at 19:18 UTC
    Thanks for the suggestions. This is a strange situation. The system I am working with is an older Solaris 7 server. For some reason, it only has the perl executable, not the full distro. This may be part of the problem.