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 SkipVought 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: *

  1. MattMcGinnis

    Do I Need BayRS AND Site Manger software?

    Hi, I'm not familiar with Bay routers and have a few questions. First, the Site Manager documentations states that I need BayRS and Site Manger software. I have SM, but not BayRS unless it is already installed on the router. Is this normally the case? I am going to the customer soon and want...
  2. MattMcGinnis

    Returning 0 instead of "no rows selected" in oracle

    Thanks for the suggestions. I'm writing the script in perl, and once I changed the query from one "group by" query into three separate queries, it returned 0. Yeah, yeah, I know its slower and not the best solution, but this thing could run all day if it wanted to and no one would...
  3. MattMcGinnis

    Reference as a Hash value

    jaa, Thanks for the correction. I'm relatively new to programming and I'm unfamiliar with optimizing code. I didn't know that searching through a zillion hash values is faster than searching through a zillion array values. Its a little counter-intuitive since a hash has a zillion times two...
  4. MattMcGinnis

    Issues commands on the command line from within a perl script

    Perhaps you meant to use backticks ` instead of single quotes ' ? This is normally used to capture output from the command like: @files = `dir`; # gets dir output MattMcGinnis
  5. MattMcGinnis

    Issues commands on the command line from within a perl script

    Try this: system("cd /home"); MattMcGinnis
  6. MattMcGinnis

    Reference as a Hash value

    I can't think of a way to use a reference, but the following code will search the file and copy each line out to another file unless the id number has already been processed once before. #!perl $in="c:\\file1.dat"; open (INFILE, "$in") or die; my...
  7. MattMcGinnis

    Will programmers soon become obsolete?

    CajunCenturion, That seems to be a reasonable analysis. I can see the self-taught group still being needed, just not getting the high $$. This is bad for me because my formal education is M.E. and not C.S.E. so I am in the self taught group. I believe that through sheer determination and...
  8. MattMcGinnis

    Will programmers soon become obsolete?

    OOPS, I guess regular html doesn't work here.
  9. MattMcGinnis

    Will programmers soon become obsolete?

    CajunCenturion, I think the real question here (but that doesn't really fit into the subject line) is "Is the number of high paying programming jobs going to become very small in the near future." I'm looking to stay in a very technical position, but also receive a large salary...
  10. MattMcGinnis

    Will programmers soon become obsolete?

    svanels, H-1Bs are foreigners who are working in IT in America on a special visa which our government decided we needed based on a supposed lack of skill workers in America. Basically a lie. They are cheap labor. I assume a programmer is someone who gets paid to write code which solves...
  11. MattMcGinnis

    Will programmers soon become obsolete?

    Hi all, I'd like to start a discussion here about the future of programming. I have evolved from help desk to systems administrator to half sys admin half Oracle DBA (which I still am) and for the last year I've been learning to program. For me, this was a natural progression and I feel that...
  12. MattMcGinnis

    re: calling a UNIX command in a perl script

    It really depends on what you want to do with the command. If you just want to execute some command and don't need to get any output, then you can use the system command. The syntax is like: system("command here"); If you need output then you can do something like this using...
  13. MattMcGinnis

    print "Content-Disposition: attachment; filename = admin-log.txt\n\n";

    I think you forgot to post the code. :)
  14. MattMcGinnis

    Reg Expression assistance?

    This should work. $var =~ /(.+)(\.)(.+)/; print "$1\n"; MattMcGinnis
  15. MattMcGinnis

    Software error: Can't open file '/default_form.html', reason: No such

    Jamisar, I think you have found the problem. I answered assuming that he was using a short cut that I hadn't seen before. God knows there is a million ways to do the same thing in per. :)
  16. MattMcGinnis

    Software error: Can't open file '/default_form.html', reason: No such

    Hi Chuck, You mentioned that the www directory is the root, but have you tried open (FILE, "$template = /www/default_form.html ... to see what happens? I'm not sure, but I think that if you don't fully specify the path, perl will default to the directory where you are running the...
  17. MattMcGinnis

    xml and perl

    Hmmmmm. Your subject is "XML and perl" but your question is about Oracle and .dmp files. Have you converted the dmp file to an XML document? You could use a combination of an XML module (I think XML::Simple would work) and the ODBC module to 1.parse the info from the XML doc and...
  18. MattMcGinnis

    parsing data from a input form

    LOL about the head through the monitor, I know that feeling. The only help I can think to offer would be for you to recheck all of your paths. In NT they must be of the form: c:\\temp\\bin or c:/temp/bin Instead of highlighting and hitting enter, can you hit "refresh" and get the...

Part and Inventory Search

Back
Top