Comment Perl Example, REBOL equivalent (Score 2) 113
taken from http://www.rebol.com/web-read.html
To read a web page:
page: read http://www.rebol.com
To view the HTML source code:
print page
Or, you could just write:
print read http://www.rebol.com
which to me a non-perl/non-rebol user seems a lot easier than the perl example
To read a web page:
page: read http://www.rebol.com
To view the HTML source code:
print page
Or, you could just write:
print read http://www.rebol.com
which to me a non-perl/non-rebol user seems a lot easier than the perl example