Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: A query on Perl debugger!!!

by BrowserUk (Patriarch)
on Apr 23, 2004 at 05:28 UTC ( [id://347540]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2024-04-25 22:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found