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:
This will bring extract_tagged into your module's namespace.use Text::Balanced qw( extract_tagged ); # The rest of your code from above here.
Alternatively, you could fully qualify the name:
Philuse Text::Balanced; my $text = 'sometexthere'; ($extracted, $remainder) = Text::Balanced::extract_tagged($text);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Regular Expression problem when Extracting Start\ VALUE \End
by gasho (Beadle) on Sep 30, 2005 at 20:36 UTC | |
by philcrow (Priest) on Sep 30, 2005 at 21:00 UTC | |
Re^3: Regular Expression problem when Extracting Start\ VALUE \End
by Anonymous Monk on Feb 12, 2015 at 23:20 UTC | |
by Anonymous Monk on Feb 13, 2015 at 07:43 UTC |
In Section
Seekers of Perl Wisdom