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 dencom 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

    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
  2. 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...
  3. 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...
  4. 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...
  5. 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
  6. 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...
  7. 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"...
  8. LAdProg2005

    parsing string

    hi all again, i am going through file parsing strings... ie. Date: 08/01/09 By: LAdProg Info: This is test by \lad:prog 20'05 i go by line match the string: $myLine =~ /Date/ then i use substring funtion to get whatever is after ':'...
  9. LAdProg2005

    in correct date

    I have an issue with date difference. I am trying to find out difference in months by given date. But delta_ymd doesn't output proper difference..it individually subtracts year or month or day instead of doing date difference. may be i am missing something... Please help. Thanks, $dateM =...
  10. LAdProg2005

    screen scraping

    hello i am new to both perl and screen scraping... I need to get data from a table that resides on a web page..it is very simple web page that has html table with 7 columns and rows with data... i need starting pointers or example or anything that can guide me in accomplishing this task while...
  11. LAdProg2005

    creating proper date

    Hello, i am in need of help again. somehow i am not getting the correct dates to output:(8/16 to 8/22 8/9 to 8/15 8/2 to 8/8 7/26 to 8/1 ) Start and end dates of the week is ok but i am getting confused with the loop i think... <cfset weeks = 4> <cfset todayDt = Fix( Now() ) /> <cfset...
  12. LAdProg2005

    coldfusion list &amp; each function

    Hello, I am fairly new to coldfusion...I am converting scripts from php to coldfusion. two of the functions in php (list() & each ()) I cannot find in coldfusion...Not exact but similar functions... I will appreciate any pointers in this regards...basically what i am trying to do is i have...
  13. LAdProg2005

    perl confusion

    I am new to perl programming. I am trying to write a script in perl to use certain information from the log file and save it in an output file which is comma delimited. I looked at tutorials and examples but I found nothing concret. Does anyone know how to grep certain information from a file...

Part and Inventory Search

Back
Top