#!/usr/bin/perl use IO::File; my $file = shift; my $ft = IO::File->new($file); my $line = <$ft>; print $line; -- sclin by 淳