in reply to Re: 'strict refs' + 'strict sub' = suck.
in thread 'strict refs' + 'strict sub' = suck.

EDIT: Oh my god, I see the error. I'm not sure why I put "return(FILE), but that's apparently what's causing it. Thanks for your help :)
  • Comment on Re: Re: 'strict refs' + 'strict sub' = suck.

Replies are listed 'Best First'.
Re: Re: Re: 'strict refs' + 'strict sub' = suck.
by diotalevi (Canon) on Oct 24, 2003 at 22:23 UTC

    Incidentally, if you really meant to return the close handle you would either have used IO::File in the first place or you'd return the glob ala return \*FILE;.

Re: Re: Re: 'strict refs' + 'strict sub' = suck.
by graff (Chancellor) on Oct 25, 2003 at 17:25 UTC
    I guess you need to figure out how to go to specified line numbers in the text editor that you use for perl programming. When perl reports an error at a specific line number, the first thing to try is to go directly to that line number in the file.