GOAL:- I am trying to ready the keyvalues of the hash dashboard_branches and depending on the value am assigning the RLTAGURL but running into compilation error..can anyone provide guidance on what is wrong?
foreach my ${branch} (sort keys %dashboard_branches) { print "BRANCH: ${branch}"; if (${branch} =~ /^TAG_WCONNECT_BT/) { my $RLTAGRL = "http://qwiki.company.com/qca_CNNss/CNN-BT-FM +/BT_TAG_Releases"; } elsif (${branch} =~ /^TAG_BTHOST/) { my $RLTAGRL = "http://qwiki.company.com/qca_CNNss/CNN-BT-FM +/BT_TAG_Releases"; } elsif (${branch} =~/^TAG_WCONNECT_NFC/) { my $RLTAGRL = "http://qwiki.company.com/qca_CNNss/CNN-BT-FM +/NFC_TAG_Releases"; "create_dashboard.pl" 217L, 6996C written
<user:/local/mnt/workspace/user/Automation/swbuild/bin/dashboard>perl +create_dashboard.pl Global symbol "$RLTAGRL" requires explicit package name at create_dash +board.pl line 201. Execution of create_dashboard.pl aborted due to compilation errors.
In reply to Global symbol "$RLTAGRL" requires explicit package name at create_dashboard.pl line 201. by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |