Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: File::Temp painfully slow under Cygwin

by dds (Novice)
on Jul 09, 2013 at 20:32 UTC ( [id://1043371]=note: print w/replies, xml ) Need Help??


in reply to Re: File::Temp painfully slow under Cygwin
in thread File::Temp painfully slow under Cygwin

Thank you. The problem could then be an installation issue. What do you get by running the following?
find /usr/lib/perl5/ -name Cwd.dll
In my case the file does not exist, and this may explain the problem.

Replies are listed 'Best First'.
Re^3: File::Temp painfully slow under Cygwin
by dbuckhal (Chaplain) on Jul 10, 2013 at 05:05 UTC
    My contribution from a Toshiba NB305 Netbook 1.66GHz with 2GB RAM, running WinXP:
    $ uname -a CYGWIN_NT-5.1 minime 1.7.20(0.266/5/3) 2013-06-07 11:11 i686 Cygwin $ perl -v This is perl 5, version 14, subversion 2 (v5.14.2) built for cygwin-th +read-multi-64int (with 7 registered patches, see perl -V for more detail) Copyright 1987-2011, Larry Wall <output truncated> $ time /usr/bin/perl -e 'use File::Temp' real 0m0.469s user 0m0.358s sys 0m0.125s $ time /usr/bin/perl -e 'use File::Temp' real 0m0.438s user 0m0.249s sys 0m0.202s
    ...and the search for Cwd.dll returned nothing.

    I initially ran this earlier and the "real" time was just over two seconds, but that was the slowest it recorded.

    Hope this helps!
Re^3: File::Temp painfully slow under Cygwin
by Laurent_R (Canon) on Jul 10, 2013 at 23:29 UTC

    Does not seem to exist either.

    Laurent@Laurent-HP ~ $ find /usr/lib/perl5/ -name Cwd.dll Laurent@Laurent-HP ~

      Does not seem to exist either.

      Check this way

      $ perl -MCwd -le " print for grep /Cwd/, %:: " Cwd:: *main::Cwd:: _<C:/citrusperl/lib/auto/Cwd/Cwd.dll *main::_<C:/citrusperl/lib/auto/Cwd/Cwd.dll _<Cwd.c *main::_<Cwd.c

        I get only this:

        $ perl -MCwd -le " print for grep /Cwd/, %:: " Cwd:: *main::Cwd::

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1043371]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-19 04:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found