https://www.youtube.com/watch?v=WtDuf1qv8vo

Yo ho, it’s a pirate’s life for Hugh Jackman.

To help develop his Blackbeard character in “Pan,” the 46-year-old says he spent a day at pirate boot camp where costumes, props and “a lot of freaky stuff” were plentiful.

"You go into a room, and for nine hours a day, you’re a pirate for that entire time,” he tells Made in Hollywood of his training session. “People got dressed up and we interviewed each other— we ran around, played games, made alliances and had a blast. It was so much fun creating the character.”

The experience, he says, was like living out a childhood fantasy. “You put 15 grown men in a room and tell them to be pirates; no one wants to leave,” he explains.

“As a boy, the idea of living on the high seas—escaping rules, escaping any kind of authority and doing what you want, that stays in every boy’s life. And probably every girl’s too.”

"Pan," the live-action, very grim re-imagining of Disney’s 1953 animated film stars youngster Levi Miller in the titular role–fulfilling a prophecy as the boy leader who will bring the downfall of Jackman's villain Blackbeard. Costarring Garrett Hedlund as Hook and Rooney Mara as Tiger Lilly, the action-adventure, opens Friday.