Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Extract content from a string

by Corion (Patriarch)
on Jan 05, 2011 at 11:46 UTC ( [id://880578]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://880578]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-04-19 10:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found