Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: This bites

by ase (Monk)
on Jun 20, 2000 at 11:38 UTC ( #18943=note: print w/replies, xml ) Need Help??


in reply to This bites

I may not be understanding the question fully but, since gmtime() is a Perl built-in... I doubt that @INC is the source of your problem. Is the name of your module gmtime.pm? Does your module define a gmtime subroutine? Maybe an example of the offending code would shed some more light on the problem.

I did just notice you said &gmtime() ... that would mean that gmtime must be a subroutine defined somewhere as

sub gmtime() { #do something }
I did a quick test with the following...
#!/usr/bin/perl print scalar gmtime,"\n"; print &gmtime;
which yielded:
Tue Jun 20 00:52:23 2000
Undefined subroutine &main::gmtime called at ...blah blah

ase
I try to help more, realize how little I know. Who is real student? -(my perlmonk haiku for the day)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2018-10-19 20:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When I need money for a bigger acquisition, I usually ...














    Results (110 votes). Check out past polls.

    Notices?