[ic] Call mv_locale into a Sub function

Ed LaFrance interchange-users@lists.akopia.com
Wed Jun 6 14:17:00 2001


At 01:43 PM 06/06/2001 -0400, you wrote:
>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')

Oops. :-)

- Ed L.





> > 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
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users

===============================================================
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================