[ic] mv_credit_card_reference

Javier Martin interchange-users@interchange.redhat.com
Wed Feb 20 05:01:01 2002


> > My problem is that I need to check things at PROFILE time
> > rather than ITL
> > time and these checks should be able to abort the profile, so I have no
> > options besides &calc. :(
>
> It is easy to do:
>
> &calc=<<EOF
> 	delete $CGI->{tmp_result};
> 	return $CGI->{tmp_result} = 1 if $good;
> 	return if $bad;
> EOF
> tmp_result=mandatory Your calc failed!
>
> Though obviously it would be much cleaner if we could do it another
> way.


Hmm, at least much cleaner than the shameful patch I proposed before.

In my perfect world, one could write a profile entirely in perl besides
using checks/pragmas... :)

Javier