|Syntactic Confectionery Delight|
So to your point, yes the information is visible and that is not always a good thing.
Then I guess you legitimised your requirement :) How about:
Presumably you can secure the script.
You can then take it a step further and put the password, probably encrypted, in a hidden, only-readable-by-the-current-user, file, and arrange for the perl script to read that file, decrypt the password and then supply it to the command via the pipe.
Thus you can make the script generally available, but only usable from accounts that have the appropriate file, with an appropriately encrypted password, in the appropriate place.
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.