plackup reload opac and modules
Bug 7863 - opac-addbybiblionumber.pl plack scoping

Adding to new list on OPAC interface dies with:

Variable "$loggedinuser" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 85.
Subroutine AddBibliosToShelf redefined at /srv/koha/opac/opac-addbybiblionumber.pl line 76.
Variable "$authorized" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 90.
Variable "$loggedinuser" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 90.
Variable "$category" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 90.
Variable "$shelfnumber" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 91.
Variable "$newvirtualshelf" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 92.
Variable "$errcode" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 96.
Variable "@biblionumber" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 99.
Variable "$query" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 101.
Subroutine HandleNewVirtualShelf redefined at /srv/koha/opac/opac-addbybiblionumber.pl line 89.
Variable "$authorized" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 107.
Variable "$loggedinuser" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 107.
Variable "$shelfnumber" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 107.
Variable "@biblionumber" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 108.
Variable "$query" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 110.
Subroutine HandleShelfNumber redefined at /srv/koha/opac/opac-addbybiblionumber.pl line 106.
Variable "$authorized" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 116.
Variable "$loggedinuser" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 116.
Variable "$selectedshelf" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 116.
Variable "$query" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 118.
Variable "$template" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 119.
Subroutine HandleSelectedShelf redefined at /srv/koha/opac/opac-addbybiblionumber.pl line 115.
Variable "$authorized" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 129.
Variable "$loggedinuser" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 129.
Variable "$template" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 132.
Subroutine HandleSelect redefined at /srv/koha/opac/opac-addbybiblionumber.pl line 128.
Variable "@biblionumber" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 147.
Variable "@biblios" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 149.
Variable "$template" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 155.
Subroutine LoadBib redefined at /srv/koha/opac/opac-addbybiblionumber.pl line 146.
Variable "$template" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 163.
Variable "$newshelf" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 164.
Variable "$authorized" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 165.
Variable "$errcode" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 166.
Variable "$query" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 169.
Variable "$cookie" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 169.
Subroutine ShowTemplate redefined at /srv/koha/opac/opac-addbybiblionumber.pl line 162.
Can't call method "param" on an undefined value at /srv/koha/opac/opac-addbybiblionumber.pl line 156.
 at /srv/koha/opac/opac-addbybiblionumber.pl line 174
Merge branch 'bug_7863' into plack
Bug 7863 - opac-addbybiblionumber.pl add to existing list

Variable "$selectedshelf" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 116.
Subroutine HandleSelectedShelf redefined at /srv/koha/opac/opac-addbybiblionumber.pl line 115.
Subroutine HandleSelect redefined at /srv/koha/opac/opac-addbybiblionumber.pl line 128.
Variable "@biblios" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 149.
Subroutine LoadBib redefined at /srv/koha/opac/opac-addbybiblionumber.pl line 146.
Variable "$newshelf" is not available at /srv/koha/opac/opac-addbybiblionumber.pl line 164.
Subroutine ShowTemplate redefined at /srv/koha/opac/opac-addbybiblionumber.pl line 162.
7863 test scenario