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

Re: Making a title

by CharlesClarkson (Curate)
on Nov 12, 2001 at 05:02 UTC ( #124715=note: print w/ replies, xml ) Need Help??


in reply to Making a title

Well, if you flat out refuse to use 'split' or 'basename' as mentioned in the replies above, you could use this.

my $title= '/Text_Files/Cake_Rec.txt'; ($title) = ($title =~ m|([^/]*)\.|); $title =~ tr/_/ /; print $title;



HTH,
Charles K. Clarkson


Comment on Re: Making a title
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2014-08-21 05:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (127 votes), past polls