Yes they are both same but in Lightroom 5 cc you will have a full access to the latest feature called lr mobile app,which is only provided in perpetual as a trial version .
Lightroom 5 is sold as a perpetual license and also by subscription through the creative cloud. Both are the same software just the licensing procedure is a little different, the perpetual license is manually inserting the 24 numeric number and the CC version will get automatically input when it is downloaded through the Adobe Application Manager.
Scroll to the bottom of the page and you will see the Perpetual License version. (see the screen capture.