[ create a new paste ] login | about

Link: http://codepad.org/CCjTZXj3    [ raw code | output | fork ]

Perl, pasted on Apr 26:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
use strict; 

   sub main{    
      my @arr = (['something1','something2','something3','something4','something5','something6','something7','something8']
                ,['else1'     ,'else2'     ,'else3'     ,'else4'     ,'else5'     ,'else6'     ,'else7'     ,'else8'     ]
                ,['another1'  ,'another2'  ,'another3'  ,'another4'  ,'another5'  ,'another6'  ,'another7'  ,'another8'  ]
                );

      for my $row (@arr) {
         format STDOUT =
@<<<<<<<<<<<<  @<<<<<<<<<<<<  @<<<<<<<<<<<<  @<<<<<<<<<<<<  @<<<<<<<<<<<<  @<<<<<<<<<<<<  @<<<<<<<<<<<<  @<<<<<<<<<<<<  
         @$row
.
         write;
      }

   }    

   main();  


Output:
1
2
3
something1     something2     something3     something4     something5     something6     something7     something8
else1          else2          else3          else4          else5          else6          else7          else8
another1       another2       another3       another4       another5       another6       another7       another8


Create a new paste based on this one


Comments: