S
scottyj1111
Hi
I'm using Carp to write all my events to a log file. One of my scripts
connects to a serious of DB's which I do from a loop and a sub.
My problem is that when I call the sub I pass in the DB connection
details, including the password. As I'm using Carp I see the call of
the sub but I also see the parameters that I called it with (i.e. the
password)
Is there any way to get Carp to record the sub call but not the
parameters passed into it so
my DB passwords aren't recorded in the log file.
Any help appreciated.
Thanks
Scott
I'm using Carp to write all my events to a log file. One of my scripts
connects to a serious of DB's which I do from a loop and a sub.
My problem is that when I call the sub I pass in the DB connection
details, including the password. As I'm using Carp I see the call of
the sub but I also see the parameters that I called it with (i.e. the
password)
Is there any way to get Carp to record the sub call but not the
parameters passed into it so
my DB passwords aren't recorded in the log file.
Any help appreciated.
Thanks
Scott