<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Sorry for the noob type question...but is it possible to evaluate a perl expression WITHOUT wrapping the perl code in a Hook?<div><br></div><div>such as for example:</div><div><br></div><div>&lt;Handler TunnelledByPEAP=1&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>Identifier xxxx</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>Authby NTLM</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>PostAuthHook file:"%D/xxx.hook"</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>AddToReply User-Vlan =&nbsp;$vlan = 620+int(rand(9));</div><div>&lt;/Handler&gt;</div><div><br></div><div>Thanks<br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><font face="Verdana" size="2"><span class="Apple-tab-span" style="white-space:pre">        </span><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">Michael Hulko<br>Network Analyst<br><br>Western University Canada<br>Network Operations Centre<br>Information Technology Services<br>1393 Western Road, SSB 3300CC<br>London, Ontario&nbsp; N6G 1G9<br><br>tel: 519-661-2111 x81390<br>e-mail: <a href="mailto:mihulko@uwo.ca">mihulko@uwo.ca</a> &lt;<a href="mailto:mihulko@uwo.ca">mailto:mihulko@uwo.ca</a>&gt;</font></div><div><br></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline"></span>
</div>
<br></div></body></html>