[ic] Call mv_locale into a Sub function

Jason Kohles interchange-users@lists.akopia.com
Wed Jun 6 13:52:01 2001


On Wed, Jun 06, 2001 at 06:07:11PM +0200, apom wrote:
> Hi all,
> 
> I'm looking for a solution to call the variable 'mv_locale' into a sub
> function in the catalog.cfg
> like this :
> 
It's a scratch variable:
if($Scratch->{mv_locale} eq 'en_US')


> UserTag conversion HasEndTag
> UserTag conversion Interpolate
> UserTag conversion Routine <<EOR
> 
> sub {
>      if (mv_locale eq 'en_US')      < ==========
>     {
>         ....
>      } else {
>     ...
>     ...
>     }
> 
> }
> EOR
> 
> Is-it possible ?
> thanks.
> 
>  
> ______________________________________________________________________________
> ifrance.com, l'email gratuit le plus complet de l'Internet !
> vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
> http://www.ifrance.com/_reloc/email.emailif
> 
> 
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users

-- 
Red Hat E-Business Solutions                    Jason Kohles
11480 Sunset Hills Road                         Senior System Architect
Reston, VA 20190                                jkohles@redhat.com