splitting text that contains an encrypted value
- From: rhall@xxxxxxxxxxxxxxxxxx (Rance Hall)
- Date: Fri, 28 Apr 2006 14:16:38 -0500
here is the prelim setup:
my $delimiter = ";;;";
my $teststring = "name;;;encryptedpassword;;;date";
my @userdetails = split($delimiter, $teststring);
here is the goal:
I would like to find a delimiter value that I can use to both create and read from a flat-file database where splitting on the $delimiter doesn't improperly split either the encryptedpassword value, or a reasonable date format.
Question:
What would a good value for $delimiter be?
Ive got an idea that my three semicolon approach is not going to stand up to all possible password encryption schemes, so I probably need something more bullet proof than this.
--
Rance Hall
System Administrator
Nebraska Turkey Growers
1-308-468-5711, ext. 106
rhall@xxxxxxxxxxxxxxxxxx
.
- Follow-Ups:
- Re: splitting text that contains an encrypted value
- From: John W. Krahn
- Re: splitting text that contains an encrypted value
- From: Mr. Shawn H. Corey
- Re: splitting text that contains an encrypted value
- Prev by Date: Re: Debugging the client- server program
- Next by Date: Re: splitting text that contains an encrypted value
- Previous by thread: Modifiaction time of file
- Next by thread: Re: splitting text that contains an encrypted value
- Index(es):
Relevant Pages
|
|