in reply to Conditional is stopping script

I don't have perl on this machine, but it looks like $moreread should be $mornread in the assignment to $appendedrecord -- hope this helps...

Replies are listed 'Best First'.
Re: Re: Conditional is stopping script
by heretic (Initiate) on Apr 06, 2004 at 07:05 UTC
    Thanks for all the comments everyone!

    Got three hours sleep, looked at it again and it was obvious. I had forgot the ';' in the statement above the if statement. I'd been staring at it for so long that I never saw it :0P

    Thanks everyone.

      Using the 'warnings' and 'strict' pragmas is a lot easier than looking for missing semicolons. ;)

      Hanlon's Razor - "Never attribute to malice that which can be adequately explained by stupidity"