#array
Showing 38 pages (tag pages are not indexed).
- one-liners • beginnerHow to reverse lines in a file using perl -e?
- cpan • beginnerHow to use List::MoreUtils uniq to remove duplicates in Perl?
- cpan • beginnerHow to use List::Util sum function in Perl?
- serialization • beginnerHow to handle JSON arrays in Perl?
- dbi • beginnerHow to fetch a single row as array in Perl DBI?
- file-io • beginnerHow to read an entire file into an array in Perl?
- data-structures • advancedHow to use the reduce function from List::Util in Perl?
- data-structures • advancedHow to create a hash of arrays in Perl?
- data-structures • advancedHow to create an array of hashes in Perl?
- data-structures • intermediateHow to create a hash from two arrays in Perl?
- data-structures • beginnerHow to iterate over an array with index using for in Perl?
- data-structures • beginnerHow to iterate over an array with foreach in Perl?
- data-structures • advancedHow to use splice to modify an array in Perl?
- data-structures • beginnerHow to copy an array in Perl?
- data-structures • beginnerHow to merge two arrays in Perl?
- data-structures • intermediateHow to check if an element exists in an array in Perl?
- data-structures • intermediateHow to find the index of an element in an array in Perl?
- data-structures • intermediateHow to remove duplicates from an array in Perl?
- data-structures • intermediateHow to slice an array in Perl?
- data-structures • beginnerHow to get the length of an array in Perl?
- data-structures • beginnerHow to split a string into an array in Perl?
- data-structures • beginnerHow to join array elements into a string in Perl?
- data-structures • intermediateHow to use grep to filter array elements in Perl?
- data-structures • intermediateHow to use the map function to transform array elements in Perl?
- data-structures • intermediateHow to use a custom comparison function with sort in Perl?
- data-structures • intermediateHow to sort an array numerically in Perl?
- data-structures • beginnerHow to sort an array alphabetically in Perl?
- data-structures • beginnerHow to reverse an array in Perl?
- data-structures • beginnerHow to unshift elements to the beginning of an array in Perl?
- data-structures • beginnerHow to shift elements from the beginning of an array in Perl?
- data-structures • beginnerHow to pop elements from an array in Perl?
- data-structures • beginnerHow to push elements onto an array in Perl?
- variables • intermediateHow to use the $# array index variable in Perl?
- variables • advancedHow to create a multidimensional array using references in Perl?
- variables • intermediateHow to access array elements through a reference in Perl?
- variables • intermediateHow to create an anonymous array in Perl?
- variables • intermediateHow to create a reference to an array in Perl?
- variables • beginnerHow to create an array in Perl and access its elements?