Help for this page

Select Code to Download


  1. or download this
    my %test_subscriptions = (
        case_001 => # etc...
    );
    
  2. or download this
    my %hash = (  'key1', 'value1', 'key2', 'value2' );
    # or...
    my %hash = ( key1 => 'value1' => key2 => 'value2' );
    
  3. or download this
    my %test_subscriptions = (
          'case_001', 'fname' ,
    ...
          ['news','updates'],   # whoops, there's just a 'key' here of
                                # an arrayref! - no associated value!
        );
    
  4. or download this
    $ perl -MO=Deparse hesco.pl
    my(%test_subscriptions) = ('case_001', ('fname', "$lname", 'lname',
      "$fname", 'zip', '02486', 'email', 'test-' . $email . '\\@mydomain.c
    +om',
      'lists', ['news', 'updates']));
    
  5. or download this
    my @test_subscriptions = (
          'case_001' => (
    ...
    test-\@mydomain.com
    lists
    ARRAY(0x1801180)
    
  6. or download this
    s**lil*;  $*=join'',sort split q**;  s;.*;grr; &&s+(.(.)).+$2$1+; $; =
    qq-$_-;s,.*,ahc,;$,.=chop for split q,,,reverse;print for($,,$;,$*,$/)