Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Simple Perl file rename

by jesuashok (Curate)
on Aug 14, 2007 at 10:02 UTC ( #632441=note: print w/replies, xml ) Need Help??


in reply to Simple Perl file rename

use strict; my $file_name_string = 'ABC 435535.doc'; $file_name_string =~ s/.* //g; print ":$file_name_string:\n";


i m possible

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://632441]
help
Chatterbox?
[Lady_Aleena]: Rigth now I'm ranting in my head about an old subject.
[1nickt]: Hm, that is, how to prevent Perl from turning 1.0 into 1? I feel sure this must be an faq, but am reading perlnum and not finding the answer ...
[Lady_Aleena]: 1nickt, why does it matter in this case?
[1nickt]: Hm, perhaps this? "Operators which expect an integer force the argument into the integer format."
[1nickt]: Can this be? So print
[1nickt]: ... "expects an integer" ?

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (13)
As of 2017-05-24 18:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?