Skip to main content

Timeline for Sum of strings without converting

Current License: CC BY-SA 3.0

6 events
when toggle format what by license comment
Nov 28, 2014 at 23:52 history edited BMac CC BY-SA 3.0
changed \d to .
Nov 26, 2014 at 20:28 comment added Mark Ah. say is a Perl 6 thing (or you could use it in Perl 5 with these instructions, but that would be too long). Instead of say, use warn to shave a character. That will output to STDERR instead of STDOUT, but that's not against the rules of this one. :-)
Nov 26, 2014 at 3:54 comment added BMac Thanks! I did that and took out some parens (I love Perl's approach to punctuation). I couldn't get say to work though.
Nov 26, 2014 at 3:54 history edited BMac CC BY-SA 3.0
deleted 24 characters in body
Nov 25, 2014 at 20:55 comment added Mark Nice. You might investigate these tips to cut down your numbers a bit. At a glance, replacing your first line with ($x,$y)=@ARGV and using say instead of print will shave off a few characters.
Nov 25, 2014 at 16:36 history answered BMac CC BY-SA 3.0