in reply to Extract content from a string

Wouldn't splitting up the string at [[ be enough?

my @paragraphs = split /\[\[/, $input;

Also see Text::WikiFormat.

Replies are listed 'Best First'.
Re^2: Extract content from a string
by ultranerds (Hermit) on Jan 05, 2011 at 11:48 UTC
    Eugh, why do I always have to overcomplicate things? =)

    Works like a charm - thanks :)

    Cheers

    Andy