I'm a python newbie, and I'm trying to use "getopt" to process command line arguments. I'd like to be able to specify a command line option that *could* have an associated argument, but getopt is forcing me to declare each option to be
*either*
1. with an associated argument
*or*...
I'd like to change my CPAN config - by CPAN I mean the cpan utility you can use to automatically install modules from www.cpan.org. The problem is when I do
perl -MCPAN -e shell
cpan> install Some::Module
it goes through each of my selected mirror sites, first trying to use LWP to...
This question is slightly off-topic, but I'm using Perl so I hope it's all right. I need to program a directory listing/file upload web application:
1. the user should be able to browse to a URL, and that
URL should allow the user to see a directory listing
of some predefined...
If I'm coding a subroutine - inside the subroutine is there some perl variable I can refer to that will tell me the name of the subroutine I'm currently in? I keep looking for a $ something variable, but I can't find one that tells me the name of the current subroutine.
Thanks. Hardy Merrill
I saw this tip this morning from another list - there is a
perldoc -l <module name>
(that's a minus small L option) command that will tell you where in the @INC perl path the module exists. For example, on my system if I do
perldoc -l DBI
it spits this back...
I adapted Ying Zhang's Tip (http://www.phpbuilder.com/columns/ying20000602.php3) on using MySQL to manage Session information - I created a "session_mysql.php" script that contains functions sess_open, sess_read, sess_write, etc. I have it working, but I don't understand how...
mysql 3.23.28 gamma
PHP 4.0b4pl1
Apache 1.3.12
I need to change the value of a constant
from: define("DB_SERVER","localhost");
to: define("DB_SERVER","new_host");
I've made the change, but can't get PHP to recognize the new value. How do I get PHP...
I'm pretty new to this list, but I've seen some fairly basic questions that could be answered by using the documentation that comes with Perl - it's called "perldoc"s. For example, doing "perldoc perl" displays this:
PERL(1) User Contributed Perl Documentation...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.