Solution Use open for convenience, sysopen for precision, or the IO::File module to get an anonymous filehandle. The open function takes two arguments: the filehandle to open and one string containing the filename and special characters indicating how to open it (the mode): open(SOURCE, "< $path") or die "Couldn't open $path for reading: $!\n"; open(SINK, "> $path") or die "Couldn't open $path for