Skip to main content
Commonmark migration
Source Link

##Perl, 15 bytes

Perl, 15 bytes

print`curl to.` 

Run with:

perl -e 'print`curl to.`' 2> /dev/null 

curl outputs stuffs on STDERR, don't mind them. If the computer has access to internet, it will print a few lines of html (truthy), otherwise, it will print nothing (falsy).

Saved 1 bytes by using to. (instead of my previous b.io) thanks to @Kevin Cruijssen.

##Perl, 15 bytes

print`curl to.` 

Run with:

perl -e 'print`curl to.`' 2> /dev/null 

curl outputs stuffs on STDERR, don't mind them. If the computer has access to internet, it will print a few lines of html (truthy), otherwise, it will print nothing (falsy).

Saved 1 bytes by using to. (instead of my previous b.io) thanks to @Kevin Cruijssen.

Perl, 15 bytes

print`curl to.` 

Run with:

perl -e 'print`curl to.`' 2> /dev/null 

curl outputs stuffs on STDERR, don't mind them. If the computer has access to internet, it will print a few lines of html (truthy), otherwise, it will print nothing (falsy).

Saved 1 bytes by using to. (instead of my previous b.io) thanks to @Kevin Cruijssen.

added 95 characters in body
Source Link
Dada
  • 8.5k
  • 1
  • 18
  • 44

##Perl, 1615 bytes

print`curl bto.io`` 

Run with:

perl -e 'print`curl bto.io`'`' 2> /dev/null 

curl outputs stuffs on STDERR, don't mind them. If the computer has access to internet, it will print a few lines of html (truthy), otherwise, it will print nothing (falsy).

Saved 1 bytes by using to. (instead of my previous b.io) thanks to @Kevin Cruijssen.

##Perl, 16 bytes

print`curl b.io` 

Run with:

perl -e 'print`curl b.io`' 2> /dev/null 

curl outputs stuffs on STDERR, don't mind them. If the computer has access to internet, it will print a few lines of html (truthy), otherwise, it will print nothing (falsy).

##Perl, 15 bytes

print`curl to.` 

Run with:

perl -e 'print`curl to.`' 2> /dev/null 

curl outputs stuffs on STDERR, don't mind them. If the computer has access to internet, it will print a few lines of html (truthy), otherwise, it will print nothing (falsy).

Saved 1 bytes by using to. (instead of my previous b.io) thanks to @Kevin Cruijssen.

Source Link
Dada
  • 8.5k
  • 1
  • 18
  • 44

##Perl, 16 bytes

print`curl b.io` 

Run with:

perl -e 'print`curl b.io`' 2> /dev/null 

curl outputs stuffs on STDERR, don't mind them. If the computer has access to internet, it will print a few lines of html (truthy), otherwise, it will print nothing (falsy).