Skip Menu |

This queue is for tickets about the Module-Refresh CPAN distribution.

Report information
The Basics
Id: 68122
Status: new
Priority: 0/
Queue: Module-Refresh

Owner: Nobody in particular
Requestors: dmitry1976 [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: Undefined subroutine
Date: Wed, 11 May 2011 23:38:45 +0400
To: bug-Module-Refresh [...]
From: Dmi Try <dmitry1976 [...]>
Download (untitled) / with headers
text/plain 1.1k
Hello Module doesn't work or I am doing something wrong: Distribution name and version - Module-Refresh-0.16 Perl version - $ /usr/local/bin/perl5.10.0 -v This is perl, v5.10.0 built for i86pc-solaris Operating System vendor and version - SunOS pix 5.10 Generic_137138-09 i86pc i386 i86pc Details - when I run simple script ----------------------- -------------------- #!/usr/local/bin/perl5.10.0 -w use strict; use b; use Module::Refresh; my $refresher = new Module::Refresh; while (1) { $refresher->refresh_module_if_modified(''); b::ff(); sleep 1; } ------------------------------------------------- where is package b; sub ff { print "AA\n"; } 1; ------------------------------------------------- I run and after few seconds change print "AA\n"; in to print "AAAA\n"; it complain about redefined subrotine, when I try to change once more - it exit with "Undefined subroutine &b::ff" error. $ ./ AA AA AA Subroutine ff redefined at line 3. AAAA AAAA AAAA AAAA Undefined subroutine &b::ff called at ./ line 8. -- --   Dmitry

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to