open(IN, "test") or die $!;
$line=<IN>;
close(IN);
print $line;

Agustin Rivera
Webmaster, Pollstar.com
http://www.pollstar.com



----- Original Message ----- 
From: "Yacketta, Ronald" <[EMAIL PROTECTED]>
To: "Beginners (E-mail)" <[EMAIL PROTECTED]>
Sent: Tuesday, January 08, 2002 7:50 AM
Subject: pull line #1 from a file


> Folks,
> 
> need some minor help here.. been looking in the Cookbook for an example
> to pull the first line from a file..
> 
> Regards,
> Ron
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to