Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Interview questions

by cdarke (Prior)
on Dec 19, 2011 at 11:27 UTC ( #944233=note: print w/ replies, xml ) Need Help??


in reply to Interview questions

1). Depends if the program is run with warnings on or not (-w option). If it is then:

"our" variable $test masks earlier declaration in same scope
More likely the interviewer wanted you to say what the difference between my, our, and local is.

2). The interviewer probably wanted PERL5LIB or PERLLIB, but actually any environment variable could be used to set the path provided you
use lib $ENV{varname};


Did you get the job?


Comment on Re: Interview questions
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2015-08-29 19:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (344 votes), past polls