Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Jul 23rd, 2018 50 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. # With ternaries
  2.         $nl = $separator2 ?? $remainder eq "\n" ?? $remainder
  3.                                                 !! $separator2
  4.                           !! $separator;
  5.  
  6. # Original
  7.         if $separator2 {
  8.             if $remainder eq "\n" {
  9.                 $nl = $remainder;
  10.             }
  11.             else {
  12.                 $nl = $separator2;
  13.             }
  14.         }
  15.         else {
  16.             $nl = $separator;
  17.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top