-Original Message-
From: david [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 26, 2002 8:41 PM
To: [EMAIL PROTECTED]
Subject: Re: Hide a string while saving it to file
Nyimi Jose wrote:
I have a string (ascii).
I would like to apply a rule on it before saving
Nyimi Jose wrote:
From: david [mailto:[EMAIL PROTECTED]]
sub fix_it{
my $s = shift;
$s =~ s#(.)#chr(ord($1)/2)#ge;
I did know that it was possible to use # character instead of the / one,
while substution. I understand why you use it :-) (because of division
);
regards
Rajendran
Burlingame,CA
- Original Message -
From: NYIMI Jose (BMB) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 26, 2002 7:07 AM
Subject: Hide a string while saving it to file
I have a string (ascii).
I would like to apply a rule on it before saving
I have a string (ascii).
I would like to apply a rule on it before saving it to a file - coding ...
And apply the same rule to get the original string while reading from the file -
decoding ...
Any Idea ?
Thanks,
José.
DISCLAIMER
This e-mail and any attachment thereto may contain
Nyimi Jose wrote:
I have a string (ascii).
I would like to apply a rule on it before saving it to a file - coding
... And apply the same rule to get the original string while reading from
the file - decoding ...
Any Idea ?
there are ency/decy modules in CPAN that you should check out.
On Thu, Sep 26, 2002 at 04:07:20PM +0200, NYIMI Jose (BMB) wrote:
I have a string (ascii).
I would like to apply a rule on it before saving it to a file - coding
... And apply the same rule to get the original string while reading from
the file - decoding ...
Any Idea ?
I don't