Skip to main content

Timeline for Print the ASCII table

Current License: CC BY-SA 3.0

16 events
when toggle format what by license comment
Aug 16, 2017 at 3:35 comment added Xcali You can avoid the +1 for -n by using <> in place of $_.
Aug 16, 2017 at 0:00 history edited totallyhuman CC BY-SA 3.0
deleted 3 characters in body
Oct 30, 2014 at 21:34 comment added Demnogonis @nyuszika7h Old habits die hard. I was forced to work with active perl 5.6 until last year.
Oct 30, 2014 at 21:32 history edited Demnogonis CC BY-SA 3.0
deleted 120 characters in body
Oct 30, 2014 at 19:11 comment added user344 You should remove the old versions instead of using strikethrough. That's what the revision history is for.
Oct 30, 2014 at 16:45 comment added hmatt1 @Demnogonis say was introduced in 5.14 and you're allowed to use it on here to save 2 bytes if you want to.
Oct 30, 2014 at 8:32 comment added Demnogonis You're right. But say won't work with every version of perl.
Oct 29, 2014 at 17:26 comment added hmatt1 If you are allowed to print the characters on different lines, you can use say. Also, the character count is shorter if you do it as a one-liner with -n. echo "90" | perl -nE'say chr for 0..$_' would count as 18 characters. 17 for say chr for 0..$_ plus 1 for the n.
Oct 29, 2014 at 16:46 history edited Demnogonis CC BY-SA 3.0
Changed $ARGV[0] to shift
Oct 29, 2014 at 16:32 comment added user344 You can use shift instead of $ARGV[0] to save 2 bytes.
Oct 29, 2014 at 15:49 history edited Demnogonis CC BY-SA 3.0
Removed unnecessary parenthesis
Oct 29, 2014 at 15:46 comment added Demnogonis You're right! It has been a while since I used perl
Oct 29, 2014 at 15:37 review Low quality posts
Oct 29, 2014 at 15:54
Oct 29, 2014 at 15:29 comment added manatwork Too many parenthesis. print chr for 0..$ARGV[0]
Oct 29, 2014 at 15:22 review First posts
Oct 29, 2014 at 15:24
Oct 29, 2014 at 15:20 history answered Demnogonis CC BY-SA 3.0