vladb has asked for the wisdom of the Perl Monks concerning the following question:
use Text::Balanced qw ( extract_delimited extract_bracketed extract_quotelike extract_codeblock extract_variable extract_tagged extract_multiple gen_delimited_pat gen_extract_tagged ); my $source = 'Hello World, #name#!'; my ($cfml_expr_match, $next); #eval { $cfml_expr_match = gen_delimited_pat(q{#},q{#}); $next = extract_delimited($source, '#', '', '#'); #}; if ($@) { print "Hmm.. got this: $@\n"; } # some code here... print "\n";
| "There is no system but GNU, and Linux is one of its kernels." -- Confession of Faith |
Edit kudra, 2002-01-10 Changed Delimited to Balanced in title per ntc request
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(crazyinsomniac) Re: using Text::Delimited...
by crazyinsomniac (Prior) on Jan 05, 2002 at 11:33 UTC |