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

Re^2: chop from front and back

by torres09 (Acolyte)
on Jun 21, 2013 at 07:53 UTC ( #1040104=note: print w/replies, xml ) Need Help??


in reply to Re: chop from front and back
in thread chop from front and back

what if I wish to print it as abc,def

Replies are listed 'Best First'.
Re^3: chop from front and back
by choroba (Chancellor) on Jun 21, 2013 at 07:57 UTC
    print substr "$x,$y", 1, -1;
    لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1040104]
help
Chatterbox?
erix clocks 12 years
[TStanley]: talexb I was actually in your area last week. I was working in Milton, Ontario at the hospital they are building there.
Eily hasn't entered monk school
[Eily]: there are some special array variables that are not interpolated in double strings, like @*, @/, @(, and @)
[Eily]: is this documented somwhere?
[Eily]: "@{/}" does interpolate @/ though

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2017-06-23 13:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (547 votes). Check out past polls.