I don't get any errors either with the sample.pl and sample files. So I wonder if the data is bad in the middle of the file. I guess that has to be it since I get the errors with sample.pl and the full data file.

What is the best way to redirect that bad data to a different file or array?

Tim

Tim McGeary
Senior Library Systems Specialist
Lehigh University
610-758-4998
[EMAIL PROTECTED]



Charles K. Clarkson wrote:
Charles K. Clarkson <mailto:[EMAIL PROTECTED]> wrote:

: From: Tim McGeary <mailto:[EMAIL PROTECTED]> wrote:
: : : I am still having an error, though. Should I send my full
: : data file? It's a bit large.
: : Send it to me off-list.


    After receiving the file I get three errors. Which,
as someone already pointed out, is because you are using
'printf' where you should be using 'print'. But I still
do not get the other print error you started the thread
with.

    Are you getting it when you run samlple.pl? Can you
show us what is being printed when you run the script
with this data?


Invalid conversion in printf: "%r" at sample.pl line 99. Invalid conversion in printf: "%r" at sample.pl line 126. Invalid conversion in printf: "%r" at sample.pl line 126.


HTH,

Charles K. Clarkson


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to