Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Opening filenames with special characters

by ferreira (Chaplain)
on Mar 13, 2007 at 02:31 UTC ( #604460=note: print w/replies, xml ) Need Help??


in reply to Opening filenames with special characters

Hi, I can't seem to figure out a way to open filenames with the '*' character in it.

As a very immediate way to figure that out, I would suggest reading the open man page. It will tell you how magic 2-arg open is and how 3-arg open is just what you want.

open FHANDLE, '<', $file # handle anything your OS can or die "can't open $file: $!";

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://604460]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2019-03-25 19:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How do you Carpe diem?





    Results (121 votes). Check out past polls.

    Notices?