mic537 has asked for the wisdom of the Perl Monks concerning the following question:
I had ActivePerl -v 16 and it ran well on my Windows XP. But next I needed to make exe from pl program and installed Strawberry Perl. But Strawberry Perl does not connect to internet through my 4g modem, while ActivePerl connected well. Windows XP. ActivePerl version 16 , Strawberry version 22. What may be wrong?
CPAN\Config.pm I tried to copy from ActivePerl to Strawberry. It didnot help.
Re: Internet connection 4g modem
by haukex (Archbishop) on Nov 21, 2016 at 16:38 UTC
|
Hi mic537,
But Strawberry Perl does not connect to internet through my 4g modem, while ActivePerl connected well.
What does this mean - are you using a Perl script to connect via a modem? Are you using any Perl modules for this, and could you show a short, runnable piece of example code that demonstrates the problem? Please see How do I post a question effectively? and Short, Self Contained, Correct Example.
Regards, -- Hauke D
| [reply] |
|
| [reply] [d/l] |
|
Do you really use 127.0.0.1? If so, the modem isn't involved, as 127.0.0.1 is localhost . Are you sure the webserver is running on port 8080?
($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord
}map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
| [reply] [d/l] [select] |
|
Re: Internet connection 4g modem (Check your firewall)
by Anonymous Monk on Nov 22, 2016 at 01:06 UTC
|
Check your firewall settings
Its easily possible that the old activestate "perl.exe" was allowed to make internet connections (both client and werver) while the new "perl.exe" from strawberry is not allowed to do the same
| [reply] |
|
That the point!!! Thank you anonymous stranger in a perl. I really had a firewall - which was shutdown. And I did not blame it. But it turned out somehow, that core of firewall was not shut down and did it guard job without any annotation. It stopped strawberry/perl.exe from access ( while perl/perl.exe was allowed long before) !! When I launched firewall again( jetico ) I made permissions to strawberry and it began to work!!! The more stupid question the more easy answer. Thank to all , all , all who supported me. I feel really not alone here in this world.
| [reply] |
Re: Internet connection 4g modem
by CountZero (Bishop) on Nov 22, 2016 at 06:48 UTC
|
Did you uninstall ActivePerl before installing StrawberryPerl?
CountZero A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James My blog: Imperial Deltronics
| [reply] |