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
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...
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...
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...
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
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...
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"...
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 ':'...
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 =...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.