Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Opening filenames with special characters

by ferreira (Chaplain)
on Mar 13, 2007 at 02:31 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://604460]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-25 23:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found