note
philcrow
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:
<code>
use Text::Balanced qw( extract_tagged );
# The rest of your code from above here.
</code>
This will bring extract_tagged into your module's namespace.
<p>
Alternatively, you could fully qualify the name:
<code>
use Text::Balanced;
my $text = 'sometexthere';
($extracted, $remainder) = Text::Balanced::extract_tagged($text);
</code>
Phil
496428
496464