Perl substitution using string that contains a dollar sign on windows

后端 未结 2 1668
暗喜
暗喜 2021-01-22 12:38

I\'m using perl on windows and am trying to do a one liner using perl to substitute a placeholder in a file using a windows variable that contains a dollar sign. Does anyone kno

2条回答
  •  南方客
    南方客 (楼主)
    2021-01-22 13:15

    I presume you are getting password from user input. why not just do that in Perl without having to go through batch since you are already using Perl? Its easier. you can then use modules like Term::Inkey to mask password and stuff.

提交回复
热议问题