Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: How do you add .RTF to a file

by arthas (Hermit)
on Jun 05, 2003 at 14:32 UTC ( [id://263345]=note: print w/replies, xml ) Need Help??


in reply to How do you add .RTF to a file

If you need to rename a file with no extension you just need to say:

rename $myfile, $myfile.'.rtf';

If you just need to append .rtf to a string containing a filename then write:

$myfile = $myfile.'.rtf';

Michele.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-26 09:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found