Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: hmerrill
  • Content: Threads
  • Order by date
  1. hmerrill

    getopt - won't allow an option to have param, or NOT have param

    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*...
  2. hmerrill

    change CPAN config

    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...
  3. hmerrill

    Slightly OT - Use Apache Directory Index?

    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...
  4. hmerrill

    Name of Current Subroutine?

    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
  5. hmerrill

    perldoc -l <module name>

    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...
  6. hmerrill

    Session Mgmt in MySQL

    I adapted Ying Zhang's Tip (http://www.phpbuilder.com/columns/ying20000602.php3) on using MySQL to manage Session information - I created a &quot;session_mysql.php&quot; script that contains functions sess_open, sess_read, sess_write, etc. I have it working, but I don't understand how...
  7. hmerrill

    resetting the value of a constant

    mysql 3.23.28 gamma PHP 4.0b4pl1 Apache 1.3.12 I need to change the value of a constant from: define(&quot;DB_SERVER&quot;,&quot;localhost&quot;); to: define(&quot;DB_SERVER&quot;,&quot;new_host&quot;); I've made the change, but can't get PHP to recognize the new value. How do I get PHP...
  8. hmerrill

    perldoc documentation

    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 &quot;perldoc&quot;s. For example, doing &quot;perldoc perl&quot; displays this: PERL(1) User Contributed Perl Documentation...

Part and Inventory Search

Back
Top