Results 1 to 3 of 3

Thread: perl: %var?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Sep 1999
    Location
    Phoenix, az
    Posts
    1,517

    perl: %var?

    How would I add a hash array item to this on the fly later?


    my %vars = (title => 'Mr.',
    firstname => 'Bill',
    lastname => 'Gates',
    last_paid_month => 1, # February
    amount => 392.12,
    monthname => \@monthname,
    );

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Doesn't
    $vars{'role'} = 'Oppressor of the free Software World';
    work?
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Sep 1999
    Location
    Phoenix, az
    Posts
    1,517
    I tried that once, and it didnt work


    $vars{'salutation'} = 'Mrs';


    It did this morning though.

    Thanks

Posting Permissions

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



Click Here to Expand Forum to Full Width