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. <div><br></div><div>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.</div>
<div><br></div><div>-Brett</div><div><br><br><div class="gmail_quote">On Mon, Jul 13, 2009 at 4:55 AM, M C <span dir="ltr"><<a href="mailto:maximka1982@gmail.com">maximka1982@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello,<br><br>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:<br>use OpenSIPS::Message;<br>print "Test\n";<br><br>or some of examples, line functions.pl, i have error:<br>
<br>Can't locate object method "bootstrap" via package "OpenSIPS" at /usr/lib/perl/5.10/OpenSIPS/<div>Message.pm line 32.<br><br>How can i fix it?<br clear="all"><font color="#888888"><font color="#888888"><br>
-- <br>Best regards, Maksim.</font></font></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>