It's been a while since I used the perl module, but I think you can't manually call those scripts from the command line. However you can try to copy/symlink the OpenSIPs perl modules into your @INC path to see if that helps. As Ghaith mentions, you shouldn't have that problem with OpenSIPs itself calls the scripts.
-Brett On Mon, Jul 13, 2009 at 4:55 AM, M C <[email protected]> wrote: > Hello, > > I ve installed perl module. Also, i copied directory with perl lib > OpenSIPS.pm to /usr/lib/perl. But when i am trying to execute a simple code: > use OpenSIPS::Message; > print "Test\n"; > > or some of examples, line functions.pl, i have error: > > Can't locate object method "bootstrap" via package "OpenSIPS" at > /usr/lib/perl/5.10/OpenSIPS/Message.pm line 32. > > How can i fix it? > > -- > Best regards, Maksim. > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
