Code:
$file = '/etc/passwd'; # Name the file
open(INFO, $file); # Open the file
The first parameter is the filehandle which allows Perl to refer to the file in future. The second parameter is an expression denoting the filename. If the filename was given in quotes then it is taken literally without shell expansion. So the expression '~/notes/todolist' will not be interpreted successfully. If you want to force shell expansion then use angled brackets: that is, use <~/notes/todolist> instead
i made the bold statements . i just could not understand those statements. will you plese tell me in a simpler way ?
what those statements wants to say ? please rovide an easy example.
thanks for your time.