you seemed to refer to the code that has use MyApp::Conf qw/APP_NAME/; outside the BEGIN block. in that case, after the BEGIN block run, $ENV{APP_NAME} is set and use MyApp::Conf qw/APP_NAME/; runs fine.
it is only problem whei put use MyApp::Conf qw/APP_NAME/; inside the block as the last line.