Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: This bites

by ase (Monk)
on Jun 20, 2000 at 11:38 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://18943]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2024-03-19 06:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found