in reply to Re^4: generate a new toc
in thread generate a new toc

even with single quotes I get the same error

It's the missing comma, not the quotes... — look more closely what shmem wrote.

(The quotes thing was about "$file" vs. $file, and that the double quotes are useless there, usually.)

Replies are listed 'Best First'.
Re^6: generate a new toc
by grashoper (Monk) on Feb 21, 2008 at 00:44 UTC
    now i don't get any errors but my file doesn't contain any data other than the ul tags.
      Looks like it is time to debug the program.

      Run perldoc perldebtut.

           "As you get older three things happen. The first is your memory goes, and I can't remember the other two... " - Sir Norman Wisdom