No questions yet
257 visits
Outline:Perl provides 3 types of data structures. 1. Scalar This is the basic data structure in PERL. It is as good as defining variables in Perl. e.g $variable = 9; 2. Array It is an ordered collection of data. It contains elements of any type. e.g @array = (1, 5, 6, ‘abc’, 7); 3. Hash It is an un-ordered collection of data. It is key-value pair structure. It contains elements of any type. e.g %hash = ( 'Name' => 'John', 'Department' => 'Finance' );
Perl provides 3 types of data structures. 1. Scalar This is the basic data structure in PERL. It is as good as defining variables in Perl. e.g $variable = 9; 2. Array It is an ordered collection of data. It contains elements of any type. e.g @array = (1, 5, 6, ‘abc’, 7); 3. Hash It is an un-ordered collection of data. It is key-value pair structure. It contains elements of any type. e.g %hash = ( 'Name' => 'John', 'Department' => 'Finance' );
Show video info
Pre-requisite