Hello, i would like help on this problem i'm currently having.
I want to parse a page using regexs. I want to get the whole Pure-Dream Table row off http://pvpgnservers.ath.cx/ Then parse it so that a variable will end up with
"217.172.178.113 Pure-Dream Europe 0d 00:40 DreamDiver PvPGN BnetD Mod 1.1.6 Linux 42 9"
Then i can split the variable and Output it in the shell
This is a stats monitor script that goes to that page and grab the # of users on the Server Pure-Dream. I think i can do the splitting and assigning the result into an array. but all i'm asking is how to parse that page so that the result is
217.172.178.113 Pure-Dream Europe 0d 00:40 DreamDiver PvPGN BnetD Mod 1.1.6 Linux 42 9".
OH, and i can't use the HTML::X modules, so please don't ask me why not just use modules. I wana do this with regex so i can learn too. Thanks!
curretly i have:
#!/usr/bin/perl
use LWP::Simple;
$html = get("http://pvpgnservers.ath.cx");
THANKS in advance
directed here by:
STrRedWolf