Brian Ling wrote:
>
> Hi List,
>
> I have the following bit of code, that works but doesn't feel like the
> best way, can anyone think of a better neater answer maybe a one liner?
>
> my $target = getTarget();
> If ( target eq "MAIN" ) { return }
> #do lots of other stuff with value of targetwell this works: return if 'MAIN' eq (my $target = getTarget()); /Stefan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
