From: Mike808 <mi...@ne...> - 2000-07-26 04:27:45
|
"Mark A. Hershberger" wrote: > [A lot of questions, I know] > Mike, > > More curiousity: Why Time::HiRes? Devel::DProf is bundled with Perl > 5.6 and can be used without changing the source. Meanwhile, > Time::HiRes requires extra work to use. What is the benefit? This was from Bron's fork. I was just taking a stab at merging in his stuff. But, I'm with you if Devel::DProf is in the CORE now. Could be that Bron just didn't know about it. It's something I'll look into. If Bron doesn't tackle it first. > Also, I notice that you've added some code on a per-OS basis. There > is stuff for EBCDIC, VMS, etc. Why all the platform code? Isn't XML > supposed to emit UTF encoded text? Well, it helps when dealing with file paths in particular, since Macs VMS, and Win32 in particular are a bit weird in this regard. There's been some discussion over in Xalan-land about chaining and includes of stylesheets and using URLs and local file paths interchangeably when referring to some external 'thing'. Having these around just helps a bit if you need them, since Xalan seems to be stumbling as people start using it in the real world and aren't feeding it nice well-manicured ISO-8859-1 US-centric Intel-based XSL transforms. It also could come in handy for file-based caching of pre-parsed DOMs and XSL stylesheet trees. Also, as the comment says, that whole block was ripped from CGI.pm. If it turns out that later on, we don't need to know the OS to help parsing filepaths, then I'm ok with removing it. Wouldn't be the first dead code to get removed when it's no longer useful. :) I hope that answers some questions (and maybe even prompts some more!) Mike. |