Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: Context: compile-time vs. run-time

by Anonymous Monk
on Jan 26, 2009 at 00:59 UTC ( #738852=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Context: compile-time vs. run-time
in thread Context: compile-time vs. run-time

But its still runtime for shmem :)

D:\>cat shmem #!/usr/bin/perl print "Hi, i'm shmem, this is runtime for me\n"; eval "use shmem; its still runtime for shmem\n"; warn $@ if $@; D:\>perl shmem Hi, i'm shmem, this is runtime for me Can't locate shmem.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site +/lib .) at (eval 1) li ne 1. BEGIN failed--compilation aborted at (eval 1) line 1. D:\> D:\>cat shmem2 #!/usr/bin/perl print "Hi, i'm shmem, this is runtime for me\n"; eval "use CGI; its still runtime for shmem\n"; warn $@ if $@; D:\>perl shmem2 Hi, i'm shmem, this is runtime for me Can't locate object method "its" via package "still" (perhaps you forg +ot to load "still"?) at (eval 1) line 1. D:\>


Comment on Re^3: Context: compile-time vs. run-time
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (18)
As of 2015-07-30 20:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls