in reply to A query on Perl debugger!!!

Your script (or the environment variable PERL5OPT perhaps) contains a line

use File:Glob 'globally'; that should be
use File::Glob ':globally'; #...............^

perhaps?

This is based upon the fact that I can reproduce the error using

P:\test>perl -MFile::Glob=globally -de1 Loading DB routines from perl5db.pl version 1.23 Editor support available. Enter h or `h h' for help, or `perldoc perldebug' for more help. "globally" is not exported by the File::Glob module Can't continue after import errors at -e line 0 BEGIN failed--compilation aborted.

And avoid it using

P:\test>perl -MFile::Glob=:globally -de1 Loading DB routines from perl5db.pl version 1.23 Editor support available. Enter h or `h h' for help, or `perldoc perldebug' for more help. main::(-e:1): 1 DB<1> Config::DESTROY(c:/Perl/lib/Config.pm:1198):

Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail

Replies are listed 'Best First'.
Re: Re: A query on Perl debugger!!!
by pijush (Scribe) on Apr 23, 2004 at 05:52 UTC
    No, in my script I have not used File::Glob and the same script is running fine on Linux and solaris, obviously perl is built on Linux and Solaris respectively on those cases.
    -Regards
    Pijush