in reply to Re: Re: Re: Simple Encryption question
in thread Simple Encryption question
I am curious to know how this statement works:
$data[$i] =~ s#^(\d{16})#$_ = $1; tr/0-9/A-J/; $_#eI understand some pieces of it:
-> the s is for substitution; ^d16 is for first 16digits;
-> tr does the conversion. # delimits;
Can you please let me know, how the whole piece fits in to do the substitution.
thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Simple Encryption question
by tachyon (Chancellor) on Dec 30, 2003 at 22:10 UTC | |
by rman (Initiate) on Dec 31, 2003 at 19:50 UTC |