#! /usr/bin/perl -w use strict; $| = 1; while(my $line = ) { print("$ARGV[0]:\t$line"); }