Originally created by: gimelbr...@gmail.com
What steps will reproduce the problem?
1. ./run_MPrimer.sh (in test directory)
2. (alternatively) perl -cw MPprimer_dimer_check.pl
3.
What is the expected output? What do you see instead?
>perl -cw MPprimer_dimer_check.pl
"my" variable $k masks earlier declaration in same statement at MPprimer_dimer_check.pl line 189.
"my" variable $pd_temperature masks earlier declaration in same scope at MPprimer_dimer_check.pl line 327.
syntax error at MPprimer_dimer_check.pl line 181, near "$k qw(a g c t)"
syntax error at MPprimer_dimer_check.pl line 184, near "}"
syntax error at MPprimer_dimer_check.pl line 269, near "}"
Can't use global @_ in "my" at MPprimer_dimer_check.pl line 275, near "= @_"
syntax error at MPprimer_dimer_check.pl line 312, near "}"
syntax error at MPprimer_dimer_check.pl line 319, near "}"
syntax error at MPprimer_dimer_check.pl line 349, near "}"
syntax error at MPprimer_dimer_check.pl line 360, near "}"
syntax error at MPprimer_dimer_check.pl line 619, near "}"
(Might be a runaway multi-line () string starting on line 601)
MPprimer_dimer_check.pl had compilation errors.
>Exit code: 255
What version of the product are you using? On what operating system?
MPPrimer 1.4 on Ubuntu 12.04 LTS
perl 5.18
Please provide any additional information below.
This issue has been discussed here: http://stackoverflow.com/questions/31748976/syntax-of-perl-for-loop/31749338. It has been resolved in MPprimer-1.5. Alternatively, older MPprimer versions work with Perl-5.16.
Diff: