my $entryDailyLogs = $mainWindow -> LabEntry( -textvariable => \$config{'numberOfDailyLogsToCopy'}, -width => 2, -label => 'Enter the number of daily log files to copy', -labelPack => [-side => 'right'], ) -> pack( ); my $entryAuditLogs = $mainWindow -> LabEntry( -textvariable =>\$config{'numberOfAuditLogsToCopy'}, -width => 2, -label => 'Enter the number of audit log files to copy', -labelPack => [-side => 'right'], ) -> pack( );