The Asian accented robot wears a hat similar to the silent villain Odd Job in the James Bond film Goldfinger (1964).
The Inspector's failed attempts seem to follow a similar plot line to those used in the Roadrunner and Coyote shorts.
The final character who appears is a spoof of film detective Charlie Chan. Both he and Dirty Pierre break the fourth wall, too.
The pineapple referred to was slang for a hand grenade.
The robot's suggestions are all delivered in rhyme.