Here is my starting point:
#!/usr/bin/env perl
use warnings;
use strict;
my %hash_a = (
"num" => 7,
"date" => 20221104,
"prath" => "1.1.10",
"antema" => "1.1.15" );
my %hash_b = (
"num" => 8,
"date" => 20221105,
"prath" => "1.1.16",
"antema" => "1.1.19" );
my %hash_c = (
"num" => 9,
"date" => 20221112,
"prath" => "1.1.20",
"antema" => "1.1.39" );
from this I want to make these strings using a loop, if possible without using any trick like building variable names through a loop to get 'hash_a', 'hash_b', 'hash_c'. I was used to use multidimensional arrays for such things in python.
07_class_date_20221104_-_starting_verse_1.1.10_-_closing_verse_1.1.15.mp4
08_class_date_20221105_-_starting_verse_1.1.16_-_closing_verse_1.1.19.mp4
08_class_date_20221112_-_starting_verse_1.1.20_-_closing_verse_1.1.39.mp4
%hash_aetc? Perhaps you should put all those hashes in another variable, like an array.my @all = ( { num => 7, .... }, { num => 8, .... }, ....);and then loop over the array