Re: Module::ScanDeps and scripts using Tk

2003-08-25 Thread Roderich Schupp
On Thu, 2003-08-14 at 19:34, [EMAIL PROTECTED] wrote: > > I'm trying to understand why scanning a 1000 line script > > (albeit one using Tk and some other modules) takes 45 seconds > > on an otherwise speedy Sun E4500. > > I wonder too. Can you do a dprofpp on it? Oops, I tried Perl 5.6.1 on Sol

Re: Module::ScanDeps and scripts using Tk

2003-08-14 Thread Roderich Schupp
On Tue, 2003-08-12 at 18:17, [EMAIL PROTECTED] wrote: > That sounds like a sane idea. Can you test the patch below a bit, > and let me know if there's anything still missing? > > Alternatively, a snapshot that contains the same patch is available at: > > http://aut.dyndns.org/tmp/Module-Scan

Re: Module::ScanDeps and scripts using Tk

2003-08-14 Thread Autrijus Tang
On Thu, Aug 14, 2003 at 03:52:27PM +0200, Roderich Schupp wrote: > However there's a typo around line 368: > Also I noticed that "use base Foo" isn't handled (except that Both are fixed, thanks a lot! New version always available at: http://p4.elixus.org/member/autrijus/Module-ScanDeps/ScanDe

Module::ScanDeps and scripts using Tk

2003-08-14 Thread Roderich Schupp
Hi, I'm trying to pack a script that's using Tk. It simply uses use Tk; and nothing else, all other Tk modules are autoloaded from Tk::Widget. If a pack this script using pp, several needed Tk modules go unnoticed and I have to add lotsa use Tk::Foo; as a workaround. The problem seemd to be Mod

Re: Module::ScanDeps and scripts using Tk

2003-08-12 Thread Autrijus Tang
On Tue, Aug 12, 2003 at 10:34:58AM +0200, Roderich Schupp wrote: > - What's the purpose of this line for %Preload > 'Tk.pm' => [qw( Tk/FileSelect.pm )], I don't really know. I think it was from perl2exe's heuristics base. > The line in scan_chunk should probably onl