изменить perl скрипт для отправки смс

 
-1
 
Perl
ava
nikorip | 23.12.2016, 22:25
Не подскажите если кто разбирается в языке Perl. Есть скрипт

#!/usr/bin/perl -w
    use strict;
    use IO::Socket;

    my($server, $newmsg,

    $max_len, $server_port);
    $max_len = 160;
    $server_port = 12345;

    $server = IO::Socket::INET->new(LocalPort=>$server_port, Broadcast=>0, Proto=>"udp")
    or die "Error starting UDP Server on port $server_port: $@\n";
    print "UDP Server started on port $server_port\n";
    $newmsg = "";
    while($server->recv($newmsg,$max_len)){
    if($newmsg){
    #my($port, $ipaddr) = sockaddr_in($server->peername);
    print "Received: $newmsg \n";
    open(GNOKII, "| gnokii --sendsms +7**********") || die "Starting gnokii failed: $!\n";
    print GNOKII $newmsg;
    close(GNOKII);
    }
    }

    die "recv: $!";

Данный скрипт прослушивает порт 12345 и передает все приходящие в него сообщения в gnokii, на указаний номер мобильного отправляется смс.
Надо изменить скрипт таким образом что бы смс приходили на 2 указаних номера. Я в программировании не силен, помогите если кто знает как решить эту задачу. Делаю смс оповещения на основании вот этой статьи https://habrahabr.ru/post/154065/ 
Всем заранее спасибо
Kommentare (3)
ava
nikorip | 24.12.2016, 14:14 #
решил задачу на другом форуме. если кому надо - пишите розкажу
ava
wanglili258 | 29.09.2018, 11:31 #
cai123 09.29
http://www.uggs--canada.ca 
http://www.airmax-97.us 
http://www.michael-korsoutlet.ca 
http://www.mulberryoutletuk.co.uk 
http://www.nikefreerun.name 
http://www.canadagoosejacket.com.co 
http://www.eccoshoes-outlet.us.com 
http://www.michaelkorsoutletclearance.us.org 
http://www.cheapnfljerseysofficial.us.com 
http://www.coach.us.com 
http://www.canadiangoose.com.co 
http://www.uggoutlet-store.com 
http://www.adidasoriginals.in.net 
http://www.uggshoes.com.co 
http://www.adidasoutlet.us.com 
http://www.uggsoutlet-store.com 
http://www.coachhandbags.us.com 
http://www.converseshoes-outlet.us.com 
http://www.birkenstockoutletus.us.com 
http://www.ysloutlets.us.com 
http://www.michaelkorsoutletonlineclearance.in.net 
http://www.fendihandbags.name 
http://www.michaelkorsoutlets.us.com 
http://www.canadagoosesoutlet.ca 
http://www.coachoutletsaleonline.us.com 
http://www.katespadeoutlet.in.net 
http://www.michael-korshandbags.us.org 
http://www.airmax-97.us.com 
http://www.fitflopssaleuk.me.uk 
http://www.nike-huarache.in.net 
http://www.losangelesangelsjerseys.us 
http://www.nikeairmax87.com 
http://www.airmoreuptempo.us 
http://www.air-jordans.us.com 
http://www.moncler-outlet.us.org 
http://www.cheapoakleysunglasses.com.co 
http://www.niketessen.com 
http://www.hermesbag.us.com 
http://www.oakley--sunglasses.us.org 
http://www.nikereactshoes.com 
http://www.airmax90.org 
http://www.christianlouboutinoutlet.us 
http://www.canadagoose-coats.com 
http://www.nikeairmax-shoes.com 
http://www.coach-factoryoutletsonline.us.com 
http://www.tiffany-andcooutlet.us.com 
http://www.kobeshoes.cc 
http://www.coach-outletonline.eu.com 
http://www.canadagooseoutlet-store.us 
http://www.nikeairmax1.us 
http://store.christianlouboutinsale.us.org 
http://www.michael-korsoutlets.us.com 
http://www.pandoracharms.us.org 
http://www.adidasshoe.us.com 
http://www.pandoracharms.us.com 
http://www.birkenstocksandalsuk.co.uk 
http://www.yslhandbags.name 
http://www.cheapjordans.us.com 
http://www.pandorajewelrypandora.us.com 
http://www.suprashoes.name 
http://www.clevelandindiansjersey.us 
http://www.katespade-handbags.us 
http://www.miksbg.us 
http://www.eccoshoesstore.us.com 
http://www.ralphlaurensaleclearanceuk.me.uk 
http://www.rolex-replicawatches.com.co 
http://www.cristianoronaldojerseys.com 
http://www.timberlandboots.name 
http://www.salvatoreferragamoshoes.com 
http://www.christianlouboutinshoesuk.org.uk 
http://www.ralph-laurenoutlet.com.co 
http://www.lebronjamesshoess.com 
http://www.coloradorockiesjerseys.us 
http://www.michaelkors-outlet.in.net 
http://www.lacostepoloshirts.name 
http://www.uggbootsonlines.us.com 
http://www.columbiasportswear.us.com 
http://www.polo-outlet.in.net 
http://www.suprashoes.us.org 
http://www.pradaoutlets.us.com 
http://www.ralphlaurensale-clearance.me.uk 
http://www.cheapmlbjerseys-wholesale.us.com 
http://www.yeezyboost.us.com 
http://www.outletpandora.us.com 
http://www.yeezyboost-350.co.uk 
http://www.adidas-yeezyshoes.us.com 
http://www.uggscanadaugg.ca 
http://www.newyorkmetsjerseys.us 
http://www.coach-outlet.us.com 
http://www.supreme-clothing.us.com 
http://www.montblanc-pens.us.org 
http://www.swarovski-crystal.co 
http://www.outlet-canadagoose.com 
http://www.hermes-handbags.us 
http://www.coachfactoryoutletus.us.com 
http://www.red-bottoms.us.com 
http://www.canadagooseoutlet-stores.us.com 
http://www.converseallstar.us.com 
http://www.poloralphlaurenoutletpolo.us.com 
http://www.coach-outlets.us.com 
http://outlet.nikeshoes.us.com 
http://www.air-max90.org.uk 
http://www.ugg-boots.com.co  
http://www.airmax-2018.com 
http://www.moncleroutletshop.us.com 
http://www.coach-factoryoutletonline.us.org 
http://www.minesotatwinsjerseys.us 
http://www.uggsoutletonline.us 
http://www.katespadeoutlet.us.org  
http://www.pandorajewelry.in.net 
http://www.michaelkorsoutlet-sales.us.com 
http://www.seattlemarinersjerseys.us 
http://www.katespade-outlet.us 
http://www.michael-korsoutlet.in.net 
http://www.supremenewyork.us.com 
http://www.ugg-boots.us.org 
http://www.chicagowhitesoxjersey.us 
http://www.uggsoutletstoress.us.com 
http://www.katespadehandbags.in.net 
http://www.atlantabravsjerseys.us 
http://www.fake-rolex.us 
http://www.nike-airpresto.com 
http://www.nike-dunks.com 
http://www.uggsoutletboots.com.co 
http://www.air-max2018.us.com 
http://www.coachfactoryoutlet-storeonline.us.com  
http://www.raybansunglasses.net.co 
http://www.cartier.us.com 
http://www.torontobluejaysjerseys.us 
http://www.cheapraybans.com.co 
http://www.polooutletofficial.us.com 
http://www.vuitton-louis.us.com 
http://www.oakley.nom.co 
http://www.nikeshoes.in.net 
http://www.canadagoose-outletstores.us 
http://www.uggsbootsoutlet.in.net 
http://www.nikehuarache-shoes.com 
http://www.mulberry-bagsuk.org.uk 
http://www.coachfactoryoutletsshop.us.com 
http://www.katespadehandbagsclearance.us.com 
http://www.birkenstocks.us 
http://www.outletcoachstore.us.com 
http://www.supremeclothing.us.org 
http://www.charmspandora.us.com 
http://www.redbottomsshoes.us.com 
http://www.katespadeoutletstoreonline.us.com 
http://www.pandora-outlet.us.com 
http://www.fitflops-sale-clearance.us.com 
http://www.eccooutlets.us 
http://www.nmd-adidas.us.com 
http://www.coachfactoryoutletonlinesale.us.com 
http://www.2017nikeairmax.us 
http://www.outlettoms.us.com 
http://www.uggoutlet-storeonline.us.com 
http://www.nikeairmaxzero.com 
http://www.christianlouboutinshoes.us.org 
http://www.nikeairmax.in.net 
http://www.timberlandboots.in.net 
http://www.tampabaydevilraysjerseys.us 
http://www.canadagooseoutlet-stores.us 
http://www.jordanretro.name 
http://www.monclersoutlet.us 
http://www.pandorajewelryus.us.com 
http://www.coachoutletonlinestore.in.net 
http://www.philipppleinshirt.com 
http://www.cheapjordans.in.net 
http://www.nikeshox-shoes.com 
http://www.asicsoutlets.us.com 
http://www.hermesbirkin.in.net 
http://www.ralphlauren-outletonlines.us.com 
http://www.drmartensboots.name 
http://www.jimmychoo-outlet.us.com 
http://www.vuittonlouis.us.com 
http://www.canadagooseoutletonline.us 
http://www.timberlandoutlet.com.co 
http://www.coachfactory-outlet.in.net 
http://www.nike-store.us.com 
http://www.uggsoutlet-clearance.us.com 
http://www.airjordans.us.com 
http://www.nikeshoes.us.com 
http://www.moncleroutlets.us.org 
http://www.jordanshoesforsale.us.com 
http://www.fitflops-saleclearance.us.org 
http://www.cheaphandbagsshipping.com 
http://www.jordansshoes.us.com 
http://www.nikezoomshoes.com 
http://www.cheapjordans-shoes.us.com 
http://www.coach-outlet.ca 
http://www.longchamps.us.com  
http://www.ugg.net.co 
http://www.cheapjordanshoes.in.net 
http://www.jimmychoo.us.org 
http://www.moncler-outlets.us 
http://www.coachfactoryoutletonline.in.net 
http://www.newbalance-outlet.us.com 
http://www.canadagoosesaleoutlet.us.com 
http://www.kyrie4-shoes.com 
http://www.nikeoutlet.us.com 
http://www.nikeairmoremoney.us 
http://www.uggaustraliaonsale.us.com 
http://www.coach-factory-outlet.us.org 
http://www.northfacejacketss.us.com 
http://www.adidasyeezyshoes.us.com 
http://www.nikezoom.us 
http://www.coachoutletsonline.us.com 
http://www.nikeairmax95.com 
http://www.coachfactoryoutlet-online.us.org 
http://www.fredperrypoloshirts.in.net 
http://www.michaelkors-outlets.ca 
http://www.louboutinshoesuk.org.uk 
http://www.uggsoutletofficial.com 
http://www.adidas-outlet.us.com 
http://www.oakleysunglasses-wholesales.us.com 
http://www.pandora.us.com 
http://www.ugg-outlets.us.org 
http://www.ultraboost.us 
http://www.moncleroutletstores.us 
http://www.jordanshoes.in.net 
http://www.coach-outletonlines.us.com 
http://www.kevindurantshoes.name 
http://www.longchampoutletonline.in.net 
http://www.cheapjordanshoes.us.com 
http://www.reebokshoes.us.org 
http://www.louboutinshoes.in.net 
http://www.salomonshoesoutlet.us.com 
http://www.coachfactoryoutlet-stores.us.com 
http://www.canadagoosejacketss.us.com 
http://www.arizonadiamondbacksjerseys.us 
http://www.adidasyeezyboost-350.us.com 
http://www.adidas-nmd.us.com 
http://www.canadagooseoutlet.net.co 
http://www.airmax2019.us.com 
http://www.valentino-shoes.us.com 
http://www.floridamarlinsjerseys.us 
http://www.columbiashoesoutlet.us.com 
http://www.adadassuperstar.com 
http://www.pandoracharms.name 
http://www.birkenstockshoesoutlet.us.com 
http://www.coachfactory-outletstore.us.com 
http://www.nikeoutletonlinestore.us.com 
http://www.ralphlauren.me.uk 
http://www.katespadeoutletonline.us 
http://www.uggoutletofficial.com 
http://www.pittsburghpiratesjerseys.us 
http://www.toryburch-outletonline.in.net 
http://www.adidasshoes.in.net 
http://www.uggsoutletofficials.us.com 
http://www.uggsoutletstores.us 
http://www.pandorastore.us.com 
http://www.coachoutletcanada.ca 
http://www.nikecortezclassic.com 
http://www.moncleroutletstores.com 
http://www.cincinnatiredsjerseys.us 
http://www.nike-shoes.in.net 
http://www.coach-factoryoutletstore.us.com 
http://www.michaelkors-outlet.com.co 
http://www.katespadehandbag.us.com 
http://www.uggsbootsoutletstore.us.com 
http://www.outletcoachoutlet.us.com 
http://www.michael-korsoutlets.eu.com 
http://www.houstonastrosjersey.us 
http://www.skechersshoes-outlet.us.com 
http://www.rolexreplica-watches.us.com 
http://www.canadagooseoutletcheap.us.com 
http://www.cheapnfljerseysnflwholesale.us.com 
http://www.uggsoutlet-storeonline.us.com 
http://www.danskoshoes.name 
http://www.pandora-jewelrycanada.ca 
http://www.toryburchoutlet-online.in.net 
http://www.uggoutletstores.us 
http://www.katespade.in.net 
http://www.adidas.us.com 
http://www.timberlandbootsoutlets.us.com 
http://www.ralph-laurenoutlet.us.org 
http://www.nikeoutletshoes.us.com 
http://www.yeezyboost-350.us.com 
http://www.cheapjordans.com.co 
http://www.oaklandathleticsjerseys.us 
http://www.drmartens.us.com 
http://www.pg2-shoes.com 
http://www.baltimoreoriolesjerseys.us 
http://www.louisvuitton-outlet.us.com 
http://www.outletugg.us 
http://www.pandorajewelry.name 
http://www.uggs-outlets.com 
http://www.rbsunglasses.com.co 
http://www.kansascityroyalsjerseys.us 
http://www.jewelleryscharm.com 
http://www.pandora-charms.us.org 
http://www.eccoshoes.us.org 
http://www.outlettoms.org 
http://www.adidascampusshoes.us 
http://www.underarmourshoesoutlet.us.com 
http://www.moncler-outlets.us.com 
http://www.nikeoutletonline.us.com 
http://www.outlet-ugg.us 
http://www.ralph-laurenoutlet.org.uk 
http://www.outletuggs.us 
http://www.vans-shoesoutlet.us.com 
http://www.canadagoosesalejackets.us.com 
http://www.monclerjacketsmoncler.us.com 
http://www.pandoracharmssale-clearance.us.com 
http://www.airjordanshoes.in.net 
http://www.canadagooseoutletcanadagoose.us.com 
http://www.adidasoutlet.us 
http://www.fitflopssale.us.com 
http://www.northface-outletstore.us.com 
http://www.canadagoosejacketsoutlets.com 
http://www.longchamp-handbagsoutlet.us.com 
http://www.coachoutletstoreonlineclearances.in.net 
http://www.katespadeoutletclearance.us.com 
http://www.nikecortezclassic.us.com 
http://www.michaelkorsoutletstore.in.net 
http://www.supremeclothing.org.uk 
http://www.kate-spadeoutletonline.us.com 
http://www.tiffanyandcojewelry.in.net 
http://www.coachfactoryonlineoutlet.com.co 
http://www.airmaxoutletsaleus.com 
http://www.uggs-outlet.us 
http://www.adidas-stansmith.com 
http://www.katespadehandbags.us.com 
http://www.outletlouisvuitton.us.com 
http://www.coachcanadaoutlet.ca 
http://www.cheapoakleysunglassesofficial.us.com 
http://www.raybansunglasses.name 
http://www.canada-goose-jackets.ca 
http://www.sandiegopadresjerseys.us 
http://www.coachoutletstore-online.us.com 
http://www.philippplein-outlet.com 
http://www.adidasnmdr1.us.com 
http://www.pandorajewelryoutlet.in.net 
http://www.outletmichaelkors.us.com 
http://www.kobebryantshoes.name 
http://www.birkenstockoutlets.us.org 
http://www.canadiangoose.us.org 
http://www.coachfactory-outlet.us.com 
http://www.uggs.net.co 
http://www.uggoutletonline.us 
http://www.salvatoreferragamo.name 
http://www.outlet-canadagoose.us 
http://www.milwaukeebrewersjerseys.us 
http://www.losangelesdodgers-jerseys.us 
http://www.burberry-outlet.name 
http://www.timberland-boots.us.com 
http://www.coachoutletsonlinestores.us.com 
http://www.timberlandbootsoutlet.us.com 
http://www.adidas-superstar.us.com 
http://www.okaleysunglasseses.us.com 
http://www.pandora-jewelryoutlet.us.com 
http://www.swarovskioutlets.us.com 
http://www.burberry-outlet-canada.ca 
http://www.texasrangersjersey.us 
http://www.fitflopssale-clearance.us.org 
http://www.kate-spade.us.com 
http://www.adidas-shoes.us.com 
http://www.asicsshoes-outlet.us.com 
http://www.outlet-moncler.us.com 
http://www.moncler-outletonline.us 
http://www.canadagoose-jacketssale.com 
http://www.nike-basketballshoes.com 
http://www.ralphlauren-outlet.me.uk 
http://www.toryburch-outletstores.us.com 
http://www.coachfactoryoutlet-online.in.net 
cai123 09.29
ava
clibin009 | 09.10.2018, 08:42 #
lh181009
lacoste pas cher
kate spade
the north face
cheap jordan shoes
michael kors outlet
michael kors outlet store
canada goose outlet store
coach factory outlet
air jordan shoes
moncler outlet
moncler jackets
canada goose outlet store
michael kors outlet clearance
true religion outlet store
canada goose outlet
broncos jerseys
coach outlet online store 
pandora outlet
moncler coats
cheap ugg boots
mbt outlet
ugg outlet store
coach factory outlet
cheap uggs
michael kors handbags
cheap jordan shoes
uggs outlet online
polo ralph lauren
uggs canada
canada goose jackets
pandora jewelry
louboutin shoes
coach outlet online
uggs outlet online
christian louboutin
red bottoms
christian louboutin sale
coach outlet store online
kate spade purses
red bottoms
ugg outlet
canada goose sale
nike shoes sale
cheap ugg boots
coach factory outlet
ugg boots clearance
canada goose outlet store
ugg outlet store
ugg boots clearance
uggs outlet online
moncler outlet store
miu miu outlet
ugg boots
ray ban sunglasses outlet
coach factory outlet online
broncos jersey
cheap jordan shoes
cheap ugg boots
kate spade handbags
canada goose jackets clearance
coach outlet online
hermes online
ugg outlet online
coach outlet store online
canada goose uk
mbt shoes outlet
pandora charms sale clearance
michael kors outlet online
pandora outlet
michael kors outlet store
coach factory outlet
kate spade new york
cheap air jordans
ugg boots
cheap ugg boots
coach outlet online
cheap jordans
air jordan shoes
michael kors outlet clearance
mlb jerseys wholesale
cheap jordans
michael kors outlet clearance
christian louboutin sale
christian louboutin
cheap jordan shoes
kate spade handbags
oakley sunglasses wholesale
christian louboutin sale
christian louboutin sale
malone souliers shoes
coach outlet store online
cheap ray ban sunglasses
supreme shirts
nike air max schweiz
canada goose jackets
red bottoms
cheap oakley sunglasses
cheap jordan shoes
north face outlet
uggs outlet online
lh181009
Registrieren Sie sich oder melden Sie sich an, um schreiben zu können.
Unternehmen des Tages
Вы также можете добавить свою фирму в каталог IT-фирм, и публиковать статьи, новости, вакансии и другую информацию от имени фирмы.
Подробнее
Mitwirkende
advanced
Absenden