--- Stéphane JEAN BAPTISTE <[EMAIL PROTECTED]>
wrote:
> Hw could I copy a file in Perl

the brute force approach: =o)

  open  IN,  $file    or die $!;
  open  OUT, ">$new"  or die $!;
  print OUT $line while defined($line=<IN>);
  close OUT;
  close IN;

There are better ways, but this is a good one to make certain you
understand. Does it make sense without a detailed explanation?
Do you need anything elucidated?

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

Reply via email to