I can’t believe these aren’t available in my package manager

  • strlcpy@lemmy.sdf.org
    link
    fedilink
    arrow-up
    11
    ·
    edit-2
    9 hours ago
    # We check if the server is on by asking the ALU to perform an operation,
    $result = 1 + 1;
    
    if ($result == 2) {
    	print "Server is ON.\n";
    } else {
    	print "Server is OFF.\n";
    	print "Power on the system before attempting to run any programs!\n";
    }
    

    Brilliant