database [table name DATA_PES]
my @DATA_PES = (
{ col_name=>"rpad(reque开发者_StackOverflow社区st_no,9) as request_number",col_width=>9,col_mandatory_yn=>"n" }
what does this mean
On tidying up, the code becomes:
my @DATA_PES = (
{
'col_name' => 'rpad(request_no,9) as request_number',
'col_width' => 9,
'col_mandatory_yn' => 'n',
}
);
@DATA_PES
is an array which contains a single element.- This single element is a hash reference.
- The hash reference contains three pairs of keys and values.
See also:
- perldoc perldata - Perl data types
- perldoc perldsc - Perl Data Structures Cookbook
精彩评论