The cap only counts in the regular season. You can be $100 million over the cap in the offseason; you just have to bury the excess in the minors once the season starts.
Its actually 10% over cap (or $6.4million). Looked it up on CapGeek
"Teams can exceed the salary cap's upper limit by 10 percent during the off-season. The following count toward the team's cap payroll:
1.All players on one-way contracts, regardless of where (or if) they were playing the previous year.
2.All players on two-way contracts, in proportion to the number of days spent on an NHL roster the previous season.
3.All restricted free agents who have been extended a qualifying offer (while the offer is valid), with one-way qualifying offers counting in full and two-way qualifying offers counting as described in No. 2.
4.All restricted free agents signed to an offer sheet (such players count against the team extending the offer sheet while it is still valid).
5.All buyouts.
Example: A player with a cap hit of $500,000 and signed to a two-way contract was on an NHL roster for 94 days in the previous season, which was 188 days long. During the off-season, he will count [$500,000/188] x 94 = $250,000.
Example: A player with a cap hit of $1.25 million and signed to a one-way contract was assigned to the AHL in the previous season and spent no days on an NHL roster. The player will still count $1.25 million during the off-season.
http://www.capgeek.com/FAQ.php