Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Crash with ForkManager on Windows

by holli (Abbot)
on Sep 21, 2017 at 12:52 UTC ( [id://1199831]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Crash with ForkManager on Windows
in thread Crash with ForkManager on Windows

Can't see why value shouldn't be defined though
Because you defined $pm lexically in the try - block and you don't have strict on.

Edit:
I just ran your code with the issue fixed but experience no crashes (Win 8.1, ActivePerl 5.24). I think there is something broken with your installation of the module and or Perl itself. I suggest a clean reinstall of both.


holli

You can lead your users to water, but alas, you cannot drown them.

Replies are listed 'Best First'.
Re^4: Crash with ForkManager on Windows
by amitsq (Beadle) on Sep 21, 2017 at 13:35 UTC
    sorry my bad.

    I corrected that, and it results in no error msg output anymore. But it crashed again, with again no error output on the console although the catch blocks are implemented.

    i am afraid it's a problem with the installation.

    usually i install new moduls per package manager, so i removed the ForkManager Modul and tried to install it from the console:
    New CPAN.pm version (v2.16) available. [Currently running version is v1.9800] You might want to try install CPAN reload cpan to both upgrade CPAN.pm and run the new version without leaving the current session.
    then i updated Cpan.pm, and now the error when trying to install forkmanager is:
    PS cpan Parallel-ForkManager Set up gcc environment - gcc.exe (rubenvb-4.5.4) 4.5.4 Loading internal null logger. Install Log::Log4perl for logging messag +es CPAN: Term::ANSIColor loaded ok (v4.02) CPAN: Storable loaded ok (v2.45) Reading 'D:\Perl64\cpan\Metadata' Database was generated on Thu, 21 Sep 2017 05:41:02 GMT Warning: Cannot install Parallel-ForkManager, don't know what it is. Try the command i /Parallel-ForkManager/ to find objects with matching identifiers. CPAN: Time::HiRes loaded ok (v1.9726)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1199831]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-19 04:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found