in reply to Reversible per-line "encryption"

Just stating the obvious, you probably want to make sure that the encrypted data doesn't contain end-of-line characters or your delimiter | anywhere.

--t. alex

"Of course, you realize that this means war." -- Bugs Bunny.

Replies are listed 'Best First'.
Re: Re: Reversible per-line "encryption"
by Fletch (Bishop) on Jan 25, 2002 at 21:24 UTC

    That really shouldn't make any difference. What he'd essentially have is a two element row that the second element of which requires further processing.

    my( $group, $data ) = split( /\|/, $_, 2 ); if( user_can_see( $group ) ) { my @data = split( /\|/, decrypt( $group, $data ) ); process_row( @data ); }