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. blackhawkdoc64

    Passing Data Between One Script to Another

    How I do it is using a system call ... you can use something like this. foreach (@file_upload_fields) { system "gilepf2mcalendar.pl $_"; } Then in your other script catch them by: my $catch = <ARGV>; Something like that. Let me know if this helps.
  2. blackhawkdoc64

    working with array and scalares in while loop

    Is that correct?push @array, $1; or would you want:push @array, $&;since $1 would only give the substring contained in the first set of parenthesis. or maybe just if ($_=~/(^COMPND\s+\d+\sCHAIN:\s(.))/) { to get around slowing the regex.
  3. blackhawkdoc64

    Page maximize/minimise

    I personaly prefer XHTML. Now as for a purely html solution I don't know but here is a css one that I realy like. body { margin: 0; } html, body { height: 100%; } .wrapper { min-height: 100%; height: auto !important; height: 100%; margin: 0 auto -142px; /* the bottom margin is the...
  4. blackhawkdoc64

    help with array, while statement

    If you want to play around with regular expressions I have this code that you can use. Just plug in the regex and run it. #!/usr/bin/perl use strict; use warnings; use diagnostics; while (<>) { chomp; if (/regex here/) { print "Matched: |$`<$&>$'|\n"; } else { print "No match: |$_|\n"...
  5. blackhawkdoc64

    unlink won't delete file

    Corection: perltidy(source=>"bad.pl"; should have read: perltidy(source=>"tidytest.pl";
  6. blackhawkdoc64

    unlink won't delete file

    Well ... I found something that works so I will post it and maybe the people who are a bit better then me can improve on the idea. What I did was make two programs the first: #! perl use strict; use diagnostics; use warnings; system 'create.pl'; sleep 15; system 'rm tidytest.pl.ERR' and...
  7. blackhawkdoc64

    unlink won't delete file

    Using the process explorer from systernals it definately shows a handle being left open to the .ERR file until the program closes.
  8. blackhawkdoc64

    unlink won't delete file

    Which version of windows are you running this on?
  9. blackhawkdoc64

    Simple Question.

    I would recoment onclick as well, unlike onmousedown onclick supports both mouse and keyboard methods of selection so you get the same effect for both methods.
  10. blackhawkdoc64

    cgi dummy

    One other thought. When I send the form to the: http://www.preciousgiftsurrogacy.com/mainwebsite_cgi/formmail.cgi I get a HTTP 404 Not Found. But if i change it to: http://www.preciousgiftsurrogacy.com/cgi-bin/formail.cgi I get a 500 Internal Server Error. Just a thought.
  11. blackhawkdoc64

    cgi dummy

    Have you checked the server error log to see if it gives you any further insight? Also I have had problems with CGI's with the wrong end of line characters Ex. running a cgi saved in windows on a linux system. If there is a edit option try opening the file to edit and then saving it without...
  12. blackhawkdoc64

    cgi dummy

    Let me try that again (not enough coffee yet) Take: <td valign="top"><form name="surrogate" method="post" action="http://www.preciousgiftsurrogacy.com/mainwebsite_cgi/formmail.cgi" http://www.preciousgiftsurrogacy.com/mainwebsite_cgi/formmail.cgi"> and try: <td valign="top"><form...
  13. blackhawkdoc64

    cgi dummy

    oops ... excuse the typo in making the second block of code
  14. blackhawkdoc64

    cgi dummy

    Try changing: <td valign="top"><form name="surrogate" method="post" action="http://www.preciousgiftsurrogacy.com/mainwebsite_cgi/formmail.cgi"http://www.preciousgiftsurrogacy.com/mainwebsite_cgi/formmail.cgi"> to: [code] <td valign="top"><form name="surrogate" method="post"...
  15. blackhawkdoc64

    opening an external link in the content div

    You could also use Javascript to perform that task.
  16. blackhawkdoc64

    Capture output from system call

    You ARE the man Steve. I have been racking my brain since this was posted trying to figure it out. Very nice.
  17. blackhawkdoc64

    Capture output from system call

    Never mind ... I ran it threw checking everything and realized that the same thing is happening. The input is still going to screan and not to the variable $com.
  18. blackhawkdoc64

    Capture output from system call

    Try this one ... I am on my computer with perl so I ran it through and this worked for me. my $com = `C:/Perl/bin/perl.exe -c C:/Users/Administrator/Desktop/Work/tester_syntax.pl`; my @synlines = $com; my $status = $?; print "$status\n"; foreach my $syn (@synlines) { print "$syn\n"; }
  19. blackhawkdoc64

    Read multiple files, sum up the data and write out to new files

    I agree with Travs, you need to reset your variables that hold those values prior to each iteration of your loop.

Part and Inventory Search

Back
Top