#!/usr/bin/perl
use strict;
use warnings;
use File::Copy;
use constant WORK=>'/Users/als/';
copy(WORK."tmp.txt",WORK."tmp.txt.copy") or die "Copy failed $!";
move(WORK."tmp.txt",WORK."Desktop/tmp.txt") or die "Move failed $!";
print "Print constant\t:",WORK;
0 comentários:
Post a Comment