  Recently, Neubert has suggested that a certain class of nonperturbative
corrections dominates the shape of the electron spectrum in the endpoint region
of semileptonic $B$ decay. Perturbative QCD corrections are important in the
endpoint region. We study the effects of these corrections on Neubert's
proposal. The connection between the endpoint of the electron spectrum in
semileptonic $B$ decay and the photon spectrum in $b\rightarrow s\gamma$ is
outlined.
