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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Deleted

  1. Deleted

    Dynamic form 'name'

    Trying to get the field value to be dynamic. Any help much appreciated. function update(name, value) { window.opener.document.my_form.field[name].value = value; }
  2. Deleted

    Nested functions with explicit returns

    Haven't seen much info on this. Basically I am nested several functions that will return a final result. Any consequences of doing it this way? Performance? I have not see any examples like so. I understand perl is flexible. But in many cases 'flexible' doesn't mean correct. Example: my...
  3. Deleted

    form won't submit

    Just do this. <script type="text/javascript"> <!--// setFocus(); function setFocus(){ document.registrationFrm.submit(); } //--> </script> or even better <script type="text/javascript"> <!--// document.registrationFrm.submit(); //--> </script> http://unixjunky.com
  4. Deleted

    Window.open not working in firefox

    Concatenate the string (window.open) with +'s instead of &'s. http://unixjunky.com
  5. Deleted

    find command

    Would be helpful it you knew how to use it. % script.pl /root_folder_to_search/ http://unixjunky.com
  6. Deleted

    find command

    This will work for you. #!/usr/bin/perl use strict; use File::Find; my %size; find( sub { $size{$File::Find::name} = -s if -f; }, @ARGV ); my @sorted = sort { $size{$b} <=> $size{$a} } keys %size; splice @sorted, 20 if @sorted > 20; foreach (@sorted) { printf "%10d...
  7. Deleted

    Passing hidden with hyperlink

    Post sample of your code.. This sounds more like a javascript issue if anything. http://unixjunky.com
  8. Deleted

    Partial Pattern Matching

    #!/usr/bin/perl -w use strict; chop( my $input = <STDIN> ); open FILE, "numbers.txt" or die $!; while ( <FILE> ) { if ( $_ =~ m/($input)/ ) { print $_; } } close FILE; http://unixjunky.com
  9. Deleted

    Partial Pattern Matching

    my $input = <STDIN>; chop $input; http://unixjunky.com
  10. Deleted

    Partial Pattern Matching

    m/^($input)*$/ http://unixjunky.com
  11. Deleted

    Partial Pattern Matching

    This should work. Enjoy! #!/usr/bin/perl -w use strict; my $input = <STDIN>; open FILE, "numbers.txt" or die $!; while ( <FILE> ) { if ( $_ =~ m/($input)/ ) { print $_; } } close FILE; http://unixjunky.com
  12. Deleted

    How can I call 2 JavaScript function in one handler

    onClick="EstimateIt(this.form);checkChoice(document.SET1.set, 0)" http://unixjunky.com
  13. Deleted

    html and cgi?

    I think this is what you sare looking for [code] use CGI; my $q = new CGI; foreach my $key ( $q->param() ) { my @params = $q->param($key); my $value = join( ", ", @params ); print qq{ KEY: $key - VALUE: $value }; } http://unixjunky.com
  14. Deleted

    Can't open writable file in append mode

    I think this is a group permission problem. chown :apach_group_name file.txt http://unixjunky.com
  15. Deleted

    Can't open writable file in append mode

    Try this.. You can also try adding file.txt to the apache group as well. open (FILE '/var/www/cgi-bin/file.txt') or die $!; http://unixjunky.com

Part and Inventory Search

Back
Top