Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
This challenge is related to the Perl language. Note that challenges that require the answers to be in a specific language are generally discouraged.
1
vote
Tips for golfing in Perl?
Shorten your print statements
Unless the challenge specifies otherwise, you don't need trailing newlines.
Our 'challenge' says 'output a random number from 0 to 9 to STDOUT'. We can take this code (2 …
4
votes
Tips for golfing in Perl?
Use select(undef,undef,undef,$timeout) instead of Time::HiRes
(Taken from https://stackoverflow.com/a/896928/4739548)
Many challenges require you to sleep with greater precision than integers. selec …