... sub func { print 'The Command Seperator is: ', $^O =~ /MSWin32/i ? '&' : ';', "\n" } func(); func(); ...