I have the same problem on Windows Strawberry Perl. Unfortunately I found only one way to make it work - patch perl5db.pl
$ diff perl5db.pl.old perl5db.pl.new
1238c1238
< $rcfile = ((-e $dev_tty) ? ".perldb" : "perldb.ini");
---
> $rcfile = ".perldb";
1289c1289,1291
< return 0 if $mode & 022;
---
> if( $^O ne 'MSWin32' ) {
> return 0 if $mode & 022;
> }
1299a1302,1305
> elsif ( defined $ENV{HOMEDRIVE} && defined $ENV{HOMEPATH} && -f "$EN
+V{HOMEDRIVE}$ENV{HOMEPATH}/$rcfile" ) {
> safe_do("$ENV{HOMEDRIVE}$ENV{HOMEPATH}/$rcfile");
> }
>
I like more unix name ".perldb" instead of "perldb.ini". Also I have set "$ENV{HOMEDRIVE}$ENV{HOMEPATH}" rather than "$ENV{HOME}". Also I changed logic about file permission for Windows platform.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.