#!/usr/bin/perl -w # da funk by amoe use strict; my$disco=q;Funk Ad;;sub its_time{0}my@dance=(q{Jungl-e Boogie},qq@What's G-oin' \bOn@,qq*We Are Fa-mily*,qq);my(@speaker_stack);foreach my$boogie(its_time..$#dance){push@speaker_stack,($dance[$boogie]=~/-(.)(.)/);;} my@punk=reverse@speaker_stack;for my$is_dead(its_time..$#punk){!($is_dead%(2%5) )||print$punk[$is_dead]}$disco=~s~(.)(.)$~m\L$1\E$2~;push(my@dancemoves,(split( //,$dance[0]))[12],(split//,$dance[1])[5],(split//,$dance[2])[2],qq,\L$disco\E, );my$slogan='In The Navy';print@dancemoves[2,0..scalar(my@a=split/ /,$slogan)];