Парсер SEO Logs

Декабрь 10, 2007 at 21:55 (/code, /php)

Приват в Паблик! *новая акция

#!/usr/bin/perl -w
use strict;

my $res = `GET 'https://my.djuice.com.ua/tbmb/login_djuice/perform.do?user=80971234567&password=1111111'`;
my ( $cash ) =  $res =~ m,</td>
\s+
<td><b>([0-9.]+)</b> ,x;

if( defined $cash ){
    `notify-send -u low "DJUICE :" "Остаток на балансе $cash грн"`;
}else{
    die 'somting wrong';
}

1 комментарий

  1. voiceteam сказал,

    Я так понял, что вы разбираетесь в красоте, зайдите к нам, посмотрите

Добавить комментарий

Fill in your details below or click an icon to log in:

Логотип WordPress.com

You are commenting using your WordPress.com account. Log Out / Изменить )

Фотография Twitter

You are commenting using your Twitter account. Log Out / Изменить )

Фотография Facebook

You are commenting using your Facebook account. Log Out / Изменить )

Connecting to %s

Follow

Get every new post delivered to your Inbox.