open my $fd, "<", "-"; # will try to open file "-" open my $fd, "-"; # will open STDIN