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 Mike Lewis 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. LAdProg2005

    CFM page from PERL script

    Ok, checking... Meanwhile, on conceptual level, perl script calls cfm page(lets say via LWP module) with parameters, does process. Can the click of the button (response or checkbox checked or exit or any kind of form processing) can be send back to perl script that calls the cfm page so that...
  2. LAdProg2005

    CFM page from PERL script

    Hi all, Is it possible to call CFM page with parameters (perl variables that have values) via perl script? Hope that made sense. If yes, what docs should I read? Thanks
  3. LAdProg2005

    FileName with trailing Pipe

    Tried that as well. It still doesn't work :(
  4. LAdProg2005

    FileName with trailing Pipe

    1. First you will need to quote the file name so your shell knows that you are not trying to pipe test.pl's output: ./test.pl "fileOne|" For this, it still says Can't exec "fileOne": No such file or directory at ./test.pl line 8. Thanks
  5. LAdProg2005

    FileName with trailing Pipe

    Hello all, i am trying to read file that has pipe in the end of file name. fileOne| -> it is a data file ./test fileOne| doesn't work as it doesn't read the | I tried to escape it with backslash ./test fileOne\| but this doesn't work also $opF = $ARGV[0]; open FILE, "$opF" or die...
  6. LAdProg2005

    understanding check between two files

    also,thanks to all who made suggestions. best way to learn to look at multiple different ways of doing same thing. just that i am new and it takes me longer to figure out what is better way.... thanks again!!
  7. LAdProg2005

    understanding check between two files

    Thank you both. Works very well. THanks for being patient with me. Just one quick question...The logic wouldn't work if data was? What would I have to change to take that into consideration? I am thinking ($key,$val)=split(/\|/); would need another variable but comparison logic will have to...
  8. LAdProg2005

    understanding check between two files

    My goal is to compare two files and difference between records. file 1 is master and file 2 is to update the records. file 2 suggests that record is updated (record needs to be updated from master), removed (record is not needed hence not in file 2) or new record is added which means record...
  9. LAdProg2005

    understanding check between two files

    Ok, so with that logic, how do i process such that i can say if removed line do onething if new line do secondthing if updated line do thirdthing
  10. LAdProg2005

    understanding check between two files

    well, the process will be automated as the files need to checked often hence they need to be put in script....
  11. LAdProg2005

    understanding check between two files

    I am using simple script to check difference in two files as bellow #!/usr/bin/perl open a, "$ARGV[0]"; open b, "$ARGV[1]"; local $/; my @a = split /\n/, <a>; my @b = split /\n/, <b>; my %b = map { $_ => 1 } @b; # Make hash of B my @res = grep { !defined $b{$_} } @a; # Everything in A not in B...
  12. LAdProg2005

    cfexecute variable dump

    hello, i needed path forward in regards to how to parse through data in variable from cfexecute. after cfexecute is successful, my variable has following data when i do cfdump or cfoutput: fruits apple banana peach orange veg beans eggplant drinks coke pepsi drinks fanta i am having trouble...
  13. LAdProg2005

    get form variable

    Hello, I am using coldfusion form with username/password. using post/get how do i pass to the perl script where i can print the values set in coldfusion form? Any example or link or any pointer will be helpful...i tried google but couldn't find anything simple. thanks, ladprog
  14. LAdProg2005

    expect module

    Thank You
  15. LAdProg2005

    expect module

    No help?
  16. LAdProg2005

    expect module

    I am going through documentation of expect and I came across somethings I do not understand if someone can please help me understand I will appreicate it. In the below code what does shift signify, i do not understand what it is doing. $exp->expect($timeout, [ qr/username: /i...
  17. LAdProg2005

    single/multiple value retrieval

    Tried that as well :) if i select bp & sp, it returns bp only when printing the variable
  18. LAdProg2005

    single/multiple value retrieval

    I gave that a try as well listFindNoCase and listFind <option value = "#name#" <listFindNoCase(selName, name)>selected="selected"</cfif> > #name# </option> but it still returns the 1st in the list ie. if names list: (bp ap sp tp) and if i select bp & sp, it returns bp only when...
  19. LAdProg2005

    single/multiple value retrieval

    Right, I realized it is using only one value for which it works but I do not know programmatically how to account for more than one values... Thanks
  20. LAdProg2005

    single/multiple value retrieval

    Hi all, I am creating a list box where i can select multiple values but no matter what i do i only get back one value. I can select two but it ends up returning the first value selected. what may i be doing wrong? Thanks, <select id="selName" multiple="multiple" > <cfquery name="getName"...

Part and Inventory Search

Back
Top