Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: add a character at the end of a string

by kulls (Hermit)
on Dec 13, 2005 at 11:32 UTC ( [id://516287]=note: print w/replies, xml ) Need Help??


in reply to add a character at the end of a string

I tried little bit here,
$string.="/" if(not $string =~/\/$/ );

kulls

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2024-04-23 17:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found