Paris Hilton shouldn't have too much trouble getting into character for her next acting gig.

The Hilton heiress is set to guest star in the US TV comedy My Name is Earl - as herself.

Hilton will be appearing in a dream sequence of Earl's. Her cameo will come in a one-hour episode screening in the US on April 3 and is the comedy's first new material following the writers' strike settlement, according to NBC.

"When we wrote the role of Paris Hilton in the script, we weren't exactly sure who to go with for the role," Greg Garcia, the show's executive producer, told AP.

"But after an exhausting search we finally settled on a relatively unknown actress by the name of Paris Hilton."

Hilton has just finished work on the movie Repo: The Genetic Opera. We're all waiting with bated breath for its release - if her home videos are anything to go by it's sure to be a winner.