Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: a rule of thumb for $_ in Perl

by apotheon (Deacon)
on Oct 02, 2007 at 16:09 UTC ( #642152=note: print w/replies, xml ) Need Help??


in reply to Re: a rule of thumb for $_ in Perl
in thread a rule of thumb for $_ in Perl

Why the heck would I write that map_alike subroutine?

print substr("Just another Perl hacker", 0, -2);
- apotheon
CopyWrite Chad Perrin

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://642152]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2017-01-17 04:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (151 votes). Check out past polls.