http://qs321.pair.com?node_id=1086005


in reply to extraction of data

If you were to attempt to do this manually, what would be the steps? Now all you have to do is try and write that in Perl, it'll break the first time and when you get rid of the error messages it won't do what you intended, but that's true of most of our projects,(and anyone who denies it is probably lying) to quote Greg Lemond "It doesn't get easier, you just get faster".

So put up the code you wrote and we'll try and hack it into shape, providing you with a complete solution is not helping you in the longer term.

print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."