#!/usr/bin/perl use warnings; use strict; $_ = "Berkeley: LSD and UNIX"; s/(\w+)\s+(\w+)/$2 $1/; print $_, "?\n";