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!

Search results for query: *

  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
  16. Deleted

    Globalizing an event in IE.

    This would also help.. It's called using <input type="button" value="Open Calendar" on Click="loadXMLDoc(event, 'admin.pl?do=calendar&fwd=0')"> This works in everything but IE. IE is worthless! http://unixjunky.com
  17. Deleted

    Globalizing an event in IE.

    I really hate IE.. Their support of the DOM truely sucks. Trying to globalize the window.event so I can keep the functions seperate from each other. Anyone know why this doesn't work? or a CLEAN solution? <script type="text/javascript"> //<![CDATA[ load the calendar using the XML object var...
  18. Deleted

    Mime::Base64 Problem

    Taken from the MIME::Base64 docs. "The number of characters to decode is not a multiple of 4. Legal base64 data should be padded with one or two "=" characters to make its length a multiple of 4. The decoded result will be the same whether the padding is present or not." http://unixjunky.com
  19. Deleted

    Multilevel Permission Confusion

    Directories visible on the CLI, HTTP, Samba, or via Desktop? Need more info!! http://unixjunky.com
  20. Deleted

    TCP Protocol Tutorial?

    If your are trying to access MSN using perl the Net::Msmgr module basically has all the methods to do so. http://search.cpan.org/~slstat/Net-Msmgr-0.16/Msmgr.pm http://unixjunky.com

Part and Inventory Search

Back
Top