2
나는이 스크립트를 perl에서 실행 중이며 id와 port를 정확하게 넣고있다. ': // 1024, 스카이프'펄에서이 스크립트를 수정하는 방법을 알아낼 수 없다.
PeerPort => 'skype://1024,'$ARGV[1],
될해야 $ ARGV "
#!usr/perl/bin
use LWP::UserAgent;
system("color a");
system("title Skype <<");
system("cls");
if(!$ARGV[0]||!$ARGV[1]) {
print q {
Usage : perl skype.pl [userid] [port=1024,80,433]
};
}
else {
use IO::Socket;
my $sock = new IO::Socket::INET (
PeerAddr => 'skype://'.$ARGV[0],
PeerPort => 'skype://1024,'$ARGV[1],
Proto => 'tcp',
);
die "Video Call Error: $!\n" unless $sock;
print $sock "skype://0x77656263616d5f647269766572\n";
system("start ".$sock);
}
# jvoid(document.write(document.currentUser.id));