Results 1 to 2 of 2

Thread: Perl

  1. #1
    Join Date
    Feb 2004
    Posts
    1

    Unanswered: Perl

    This is my question...

    I need to modify this line in a .pm to accommodate a Spanish link

    Using the sample below, what do I have to add to be able to use the es cookie for language for a Spanish link?
    Does this make sense to someone?

    Default language is es.

    Thanks,
    Jordo

    my $product_a_href = '<a href="'.(($LANG eq 'fr') ? "/french_link_a" : "/english_link_a").'">';

  2. #2
    Join Date
    Nov 2003
    Posts
    65

    Lightbulb Re: Perl

    maybe this link will help you:
    http://www.stonehenge.com/merlyn/Lin...19.listing.txt

    hope that helps.

    Originally posted by Jordo
    This is my question...

    I need to modify this line in a .pm to accommodate a Spanish link

    Using the sample below, what do I have to add to be able to use the es cookie for language for a Spanish link?
    Does this make sense to someone?

    Default language is es.

    Thanks,
    Jordo

    my $product_a_href = '<a href="'.(($LANG eq 'fr') ? "/french_link_a" : "/english_link_a").'">';

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •