Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Undefined subroutine &main::func1

by stevieb (Canon)
on Jun 28, 2015 at 02:27 UTC ( [id://1132313]=note: print w/replies, xml ) Need Help??


in reply to Undefined subroutine &main::func1 [SOLVED]

If you call func1 () from at the botbottom of your actual module, does it work?

Replies are listed 'Best First'.
Re^2: Undefined subroutine &main::func1
by thanos1983 (Parson) on Jun 28, 2015 at 02:56 UTC

    Hello stevieb,

    I did not think about that. I did test it and it does work inside the module, but again not from the script.

    Thank you for your time and effort.

    Seeking for Perl wisdom...on the process of learning...not there...yet!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2024-04-23 20:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found