On 7/20/07, Gregory Machin <[EMAIL PROTECTED]> wrote:
Ok thanks, for the advise, 2 questions - what did i do wrong in my
original code, cause it's based on a working example, and is IO::File
included in the default perl package ? is this script has to go on an
embedded device with as min dependencies as possible ?
snip

I don't know what you did wrong, there were far to many commented out
lines and other complexities in your original code.  That is why I
simplified.  You could try comparing the two sets of code.  Most
likely you are trying to write to the file before opening it, you are
never reaching the code the prints to the file (you seem to have
called main() too early), or the open is failing (you aren't printing
the error message, so you have no way of knowing).

IO::File is part of IO which has been in core Perl since 5.003_07 or
earlier (that is the earliest release I could find in CPAN).

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


Reply via email to