in reply to cdrom stuff...

1: why use perl?
cp -aR /cdrom /directory
should work, right?

2: try

perl -e 'system("cp -aR /cdrom /directory") or die "Cannot do it!"'

3: You could iterate through the cdrom, using a set of recursive readdirs, and then File::Copy each file. But that would be pointless.

Replies are listed 'Best First'.
RE: RE: cdrom stuff...
by Rydor (Scribe) on Jun 07, 2000 at 01:38 UTC
    that is only for suse. for most distros, it is /mnt/cdrom (after you've mounted /dev/cdrom) not /cdrom @///usr////((:::::bin:::::::::perl::::>