<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<a class="moz-txt-link-abbreviated" href="mailto:A.L.M.Buxey@lboro.ac.uk">A.L.M.Buxey@lboro.ac.uk</a> a écrit :
<blockquote cite="mid:20090105101623.GA24474@lboro.ac.uk" type="cite">
<pre wrap="">Hi,
</pre>
<blockquote type="cite">
<pre wrap="">When i start manually the script, we have:
./example.pl: line 26: use: command not found
./example.pl: line 29: syntax error near unexpected token `('
./example.pl: line 29: `use vars qw(%RAD_REQUEST %RAD_REPLY %RAD_CHECK);'
</pre>
</blockquote>
<pre wrap=""><!---->
how are you running this script manually? looks like you're trying
to run it as a shell script....
perl ./example.pl
</pre>
</blockquote>
<br>
Ok, when i start with this command, no error.<br>
<blockquote cite="mid:20090105101623.GA24474@lboro.ac.uk" type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">What is the good process for create a small script ?
</pre>
</blockquote>
<pre wrap=""><!---->
take the example.pl file and modify it to suit your needs...then
ensure that it is called (ensure that experimental.conf
is included in the config and that you call the perl
module where you want it - eg post-auth, auth or such.
alan
-
</pre>
</blockquote>
<br>
Ok, now i think's that this script are started but i don't understand
hit, he have a lot of sub but <br>
sub are not launched.<br>
<br>
if i understand, i put all of my perl script into the sub test_call no ?<br>
<br>
Bye<br>
jerome<br>
<br>
<br>
<br>
</body>
</html>