Hi,
I think this is an issue of dereferencing.
I am using a module with
use Lingua::EN::Sentence qw(get_sentences);
Then my code contains:
my ($sen) = &get_sentences($text);
print "HELLO $sen\n";
where get_sentences is a subroutine called from the module Sentence.pm in the package above.
However, when I print out the output of get_sentences,
I get "HELLO ARRAY(0x19b2c9b8)"
What might be wrong ?
Grazia
I think this is an issue of dereferencing.
I am using a module with
use Lingua::EN::Sentence qw(get_sentences);
Then my code contains:
my ($sen) = &get_sentences($text);
print "HELLO $sen\n";
where get_sentences is a subroutine called from the module Sentence.pm in the package above.
However, when I print out the output of get_sentences,
I get "HELLO ARRAY(0x19b2c9b8)"
What might be wrong ?
Grazia