PUCKERING has asked for the wisdom of the Perl Monks concerning the following question:
I'm using Strawberry perl 5.32.1 on Windows 11. Some time ago, on Windows 10 and probably using an older perl, I had set up a .perldb file in my %HOME% folder and added some configuration so that I could automatically use Data::Printer in the debugger. I used to be able to type ::p to get the equivalent of Data::Printer:p output.
Yesterday I noticed that wasn't working. After some experimentation I realized that .perldb wasn't being read at all. Then after some research I renamed it perldb.ini and perl 5.31.1 began reading it. So far so good.
Then came the next problem:
perldb: Must not source insecure rcfile %HOME%/perldb.ini. You or the superuser must be the owner, and it must not be writable by anyone but its owner.
(It doesn't actually have %HOME% in the message ... I just substituted that in for my username for security purposes.)
Doing what it says sounds easier than it is. So far I've had no luck. I log in with my Microsoft Outlook username, so I managed to change the file ownership to that user with Properties / Security / Advanced. There are three users: my user account, SYSTEM and Administrators. I've changed SYSTEM and Administrators permissions to Deny all access to perldb.ini. My user is the only one with read and write access. Yet that still hasn't resolved the issue. I still get the above message whenever I run perl -d.
I'm stumped! Any suggestions???
|
|---|