Help for this page

Select Code to Download


  1. or download this
    @PRC_PRIV_ONLY = (
      'one string',
    ...
    foreach my $element ( @PRC_PRIV_ONLY ) {
      $element .= ' appended data';
    }
    
  2. or download this
    foreach my $element ( @PRC_PRIV_ONLY ) {
      $element = [ $element, '2nd element' ];
    }
    
  3. or download this
    @PRC_PRIV_ONLY = ( 
      [ 'one string',    '2nd element' ],
      [ 'two strings',   '2nd element' ],
      [ 'three strings', '2nd element' ],
    );