in reply to /HTML is valid perl?

If you're ever in doubt how perl is interpreting something, just ask it to dump how it's being parsed.

$ perl -MO=Deparse,-p -e '</html>' CORE::GLOBAL::glob('/html', 0); -e syntax OK

See perldoc B::Deparse for the options you can give it (should it obsessively parenthesize, etc.).

Replies are listed 'Best First'.
Re: B::Deparse knows all
by demerphq (Chancellor) on Oct 24, 2001 at 17:30 UTC
    While its true that B::Deparse is a cool tool it should be understood that there can be subtle differences between what it outputs and what is actually happening. I gave an example of this in Regarding B::Deparse a few days ago. Do not assume that the ouput is necessarily correct until it has been checked.

    Yves
    --
    You are not ready to use symrefs unless you already know why they are bad. -- tadmc (CLPM)