Показать сообщение отдельно

  #8  
Старый 02.06.2008, 20:39
SeeJay
Новичок
Регистрация: 21.02.2006
Сообщений: 18
Провел на форуме:
163552

Репутация: 1
По умолчанию

Цитата:
Сообщение от Piflit  
$pop = Net::POP3->new('pop.mail.ru');
$pop = Net::POP3->new('pop.mail.ru', Timeout => 60);

зачем 2 раза?

в начало добавь
use strict;
use warnings;
По поводу два раза думаю да Вы правы но если добавляю использование библиотек то сразу же мой скрипт не работает.
Ошибка:


Код:
Global symbol "$Fpass" requires explicit package name at hello.pl line 7.
Global symbol "$Femails" requires explicit package name at hello.pl line 8.
Global symbol "$finds" requires explicit package name at hello.pl line 10.
Global symbol "$emails" requires explicit package name at hello.pl line 16.
Global symbol "$Femails" requires explicit package name at hello.pl line 16.
Global symbol "$emails" requires explicit package name at hello.pl line 17.
Global symbol "$email" requires explicit package name at hello.pl line 20.
Global symbol "$passwords" requires explicit package name at hello.pl line 22.
Global symbol "$Fpass" requires explicit package name at hello.pl line 22.
Global symbol "$passwords" requires explicit package name at hello.pl line 23.
Global symbol "$pass" requires explicit package name at hello.pl line 26.
Global symbol "$pop" requires explicit package name at hello.pl line 28.
Global symbol "$pop" requires explicit package name at hello.pl line 30.
Global symbol "$email" requires explicit package name at hello.pl line 30.
Global symbol "$pass" requires explicit package name at hello.pl line 30.
Global symbol "$email" requires explicit package name at hello.pl line 33.
Global symbol "$pass" requires explicit package name at hello.pl line 34.
Global symbol "$logs" requires explicit package name at hello.pl line 35.
Global symbol "$pass" requires explicit package name at hello.pl line 39.
Global symbol "$logs" requires explicit package name at hello.pl line 40.
Global symbol "$pop" requires explicit package name at hello.pl line 43.
Global symbol "$passwords" requires explicit package name at hello.pl line 44.
Global symbol "$emails" requires explicit package name at hello.pl line 46.
Bareword "chompt" not allowed while "strict subs" in use at hello.pl line 19.
Bareword "chompt" not allowed while "strict subs" in use at hello.pl line 25.
Execution of hello.pl aborted due to compilation errors.
 
Ответить с цитированием