http://qs1969.pair.com?node_id=496479


in reply to Re: Regular Expression problem when Extracting Start\ VALUE \End
in thread Regular Expression problem when Extracting Start\ VALUE \End

Text::Balances does not export functions into the main namespace by default. This means you have two options. First, you could ask for the function by name:
use Text::Balanced qw( extract_tagged ); # The rest of your code from above here.
This will bring extract_tagged into your module's namespace.

Alternatively, you could fully qualify the name:

use Text::Balanced; my $text = 'sometexthere'; ($extracted, $remainder) = Text::Balanced::extract_tagged($text);
Phil