in reply to Re^3: Need help parsing ambiguously formatted data
in thread Need help parsing ambiguously formatted data

Presto!

A syntax error! (and at least one semantic error ;-) yes, I know "caveat lector, all code is untested" etc.

  • Comment on Re^4: Need help parsing ambiguously formatted data

Replies are listed 'Best First'.
Re^5: Need help parsing ambiguously formatted data
by davido (Cardinal) on Dec 01, 2004 at 22:17 UTC

    !%#!#@^&^&* stupid metacharacters. ;)

    Abra cadabra.....

    my @records = map { $_ . ' *' } split /\*/, join '', @messy_array;

    ...pay no attention to the man behind the curtain.

    lol. Anyway, this should be a little better.


    Dave