On 8/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
snip
> The code was tested..... and it compiles for mee
snip
I serious doubt that the code you sent in the email was the code you
tested then. You cannot, in any version of Perl that I know, declare
an old style file handle with the my subroutine. In fact, that saying
open my F, '>outputsample1' or
is equivalent to saying
open F->my('>outputsample1') or
Which is why you get the error
No such class F at t.pl line 3, near "open my F"
syntax error at t.pl line 3, near "my F,"
Execution of t.pl aborted due to compilation errors.
when you try to run it.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/