Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

OT: Cwd is indeed pain

by Courage (Parson)
on May 28, 2005 at 13:43 UTC ( #461342=note: print w/ replies, xml ) Need Help??


in reply to Re: Perl6 - Module::Build
in thread Perl6 - Module::Build

Now I know I'm not the only one with problems with Cwd.

While it certainly should be built into perl.dll (speaking of Win32), it is not, and some non-trivial usages of Cwd from Perl built into C makes my program even segfault.
I therefore trade portability and use Win32::GetCwd which in turn built into perl.dll

Also, during its execution it constantly checks for $^O, suspecting my script to start on Win32 and then continue working on VMS.

FWIW Cwd is a perfect example of poorly designed module, however visually it looks sane but implemented insane, yet its task is trivial.


Comment on OT: Cwd is indeed pain
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (19)
As of 2014-09-19 19:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (144 votes), past polls