I hand you a flash drive. Tell me what information is stored on it without inserting it into any usb host. Also physically opening the drive is not allowed.
This is not meant to be mean nor to insult. I am simply trying to give a more physical analogy to help you see what you are asking and how it sounds.
You have to "open" a file to read the contents.
open FILE, "filename" or die "could not open filename";
while(<FILE>) {
print $_;
}
close FILE;
|