in reply to Re: CGI throws in an extra character. Why?
in thread CGI throws in an extra character. Why?

you're calling print with no arguments, which means it defaults to printing the contents of $_, which happen to be (in this case), the number '1'.

No, that's not right. Notice the ; is commented out too, so the statement does not end on that line. It's actually what Your Mother said -- the return value from closedir.

  • Comment on Re^2: CGI throws in an extra character. Why?

Replies are listed 'Best First'.
Re^3: CGI throws in an extra character. Why?
by davido (Cardinal) on Dec 01, 2004 at 07:05 UTC

    You're right. That darn # character is still to blame though. ;)


    Dave