in reply to Re: Selecting Password
in thread Selecting Password

Thank you , I have implemented that into y code . But upon testing , I fear that the pasword generator would unluckily input a \ at the end of a password and it would cause the script to fail. Example  my $newpassword='1232!@#%][)(+/n)(\' fails in my script .Thus I thought it would be more prudent to select from safe symbols that wont fail no matter in what combination they are used.Hence why I need my above sample script to work and present a password with selected special character values everytime it runs

Replies are listed 'Best First'.
Re^3: Selecting Password
by LanX (Saint) on Jan 31, 2020 at 09:43 UTC
    > would unluckily input a \ at the end of a password

    Please show an SSCCE to reproduce your problem.

    My first guess is that you need to adjust the $\ aka $OUTPUT_RECORD_SEPARATOR

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice