The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
perl scalar variable in backquoted string mehdi9 Shell Programming and Scripting 6 10-09-2007 02:33 PM
Perl script variable passed to Oracle query rahulrathod Shell Programming and Scripting 1 05-30-2007 08:57 AM
one more query for searching string....... swamymns Shell Programming and Scripting 6 02-03-2006 08:57 AM
Parsing query string from cgi am2005 UNIX for Dummies Questions & Answers 3 05-03-2005 06:30 AM
perl variable assingment seismic_willy Shell Programming and Scripting 2 01-29-2002 04:54 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-30-2006
maheshsri maheshsri is offline
Registered User
  
 

Join Date: Oct 2005
Posts: 31
Query string assingment for other variable in PERL

Hi friends,

I want to use query string value to another variable but it gives following error when I use it with print out command,

Insecure dependency in open while running with -T switch at C:/Program Files/Apache Group/Apache2/cgi-bin/cdr_findere.pl line 119.

My code as follows,

my $PNumber = param ('PNo') ;

my $logfile = $PNumbe ;

open(OUT, ">$logfile.txt") or &dienice("Couldn't open
output file: $!");

print out "This is a test line" ;

foreach my $i (@query_calltype)
{

print OUT "$query_calltype[$i]\t $query_calltime[$i]\t $query_A_number[$i]\t $query_B_nember[$i]\t $query_calldurt[$i]\t $query_normalfe[$i]\t $query_normalfe[$i]\t $query_balanceA[$i]\n";

}

close(OUT);


Can somebody tell me how should I can solve this problem ?

Thanks,
Mahesh Fernando.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:47 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0