What will be the size of the @fields array?
my $record = ':a:b:c:';
my @fields = split(':', $record, -1);
0
1
3
5
Correct Answer:
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Perl Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Perl MCQ Questions
Which code is True of Variables-Hashes?
Which statement is correct about Hashes?
Which method pops off and returns the last value of the array?
Perl 5 defines _____ special subroutines that are executed at specific times?
Which modifier can be used when matching in Perl to ignore case?
What is a correct way to instantiate parallel processing in PERL?
Which list items of stat() returns the mode of the file?
?!pattern means regular expression is:
1 $a='cat'; 2 $$acatches='rat'; Which is equivalent to second line.?
Perl stores numbers internally as: