This website works better with JavaScript.
Home
Explore
Help
Sign In
brennen
/
snowday
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
get rid of xcowsay dependency
master
Brennen Bearnes
8 years ago
parent
dfccb189ac
commit
c077f03824
2 changed files
with
4 additions
and
5 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-1
README.md
+4
-4
snowday.pl
+ 0
- 1
README.md
View File
@ -8,6 +8,5 @@ synopsis
--------
```sh
sudo apt-get install xcowsay
./snowday.pl
```
+ 4
- 4
snowday.pl
View File
@ -2,9 +2,9 @@
use
LWP::Simple
;
$
page
=
get
(
'http://www.bvsd.org/'
)
;
if
(
$
page
=~
/troublebutton/m
)
{
# print "yes.\n"
;
`xcowsay "SNOW DAY"`
;
print
"yes.\n"
;
# `cowsay "SNOW DAY"`
;
}
else
{
# print "sorry.\n"
;
`xcowsay "sorry. :("`
;
print
"sorry.\n"
;
# `cowsay "sorry. :("`
;
}
Write
Preview
|
|
|
|
|
|
|
x
0
0
0:0
Loading…
Cancel
Save