in reply to The Oops operator.

Ummm... instead of whinging, you could've just written a script to do a split, reverse, and write out, treating it as a textfile. :)

Replies are listed 'Best First'.
Re: Re: The Oops operator.
by runrig (Abbot) on Jul 27, 2001 at 00:56 UTC
    You mean like:
    #/usr/local/bin/perl -n -l ($value, $key) = /(\w+)\s*=>\s*'(.*?)'/; print "$key => '$value',";
    That was pretty much what I did not want to do, I wanted to keep the 'keys' and 'values' in the same order as I had them. BTW this was meant to be a passing thought in the realm of meditation, and I am sorry if I seemed to be whining. And although I wasn't really after wisdom, I ended up getting some from tilly anyway :)
Re: Re: The Oops operator.
by John M. Dlugosz (Monsignor) on Jul 27, 2001 at 00:10 UTC
    I think that would be a good function for a text editor to have.
      Most editors have the capability to take Perl functions. I know emacs and vi and crisp all can...