Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 having an uproarious good time at the Monastery: (16)
As of 2015-07-01 15:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (4 votes), past polls