10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have a dir and some files as below (all have full perm)
drwxrwxrwx 2 sam sam 4096 Aug 8 04:31 /home/sam/test
$ ll /home/sam/test
-rwxrwxrwx 1 sam sam 0 Aug 8 04:31 b1_2013_file.txt
-rwxrwxrwx 1 sam sam 0 Aug 8 04:31 c1_2014_file.txtI want to go to this directory and delete the... (2 Replies)
Discussion started by: sam05121988
2 Replies
2. Shell Programming and Scripting
Hi All,
I have written an cgi perl script that displays an image(Excel image) and when clicked on that Image I need to download a excel sheet.
I made sure that excel sheet exists in the folder with the given name but still I am not able to download the sheet.
print "<center><table... (2 Replies)
Discussion started by: scriptscript
2 Replies
3. Programming
Hello friends,
I have one string "Absoulte_Markup_XYZ.xml" . I am trying to get XYZ in a variable but not able to :(
Here please note that "XYZ" can be "XYZABC" or "XYZPQR"...i mean to say its length is variable. I hope you got my point.
I tried with
> `grep <Above String> | cut -f2 -d.`... (3 Replies)
Discussion started by: harpal singh
3 Replies
4. Shell Programming and Scripting
hello friends,
i have written one perl script.Which opens a file and search for some parameter's value and gets the status of these parameters. but while i am trying to return these value always i am getting false. Can any one please help me..
here is that function:
=======================... (5 Replies)
Discussion started by: harpal singh
5 Replies
5. Shell Programming and Scripting
Not able to open a file using this code
why not?
use strict;
use warnings;
my $file = "verInfo.txt";
unless(open FILE, $file) {
# Die with error message
# if we can't open it.
die "\nUnable to open $file\n";
}
my $line = <FILE>;
print $line;
close FILE; (7 Replies)
Discussion started by: srijith
7 Replies
6. Shell Programming and Scripting
Hi,
I have created the hash.
%hash;
@arr1 = qw(Dealnum AdminStatus adminReason effFrom effTo);
@arr2 = qw(121212121 YES 1992-06-19T05:14:27 );
@hash{@arr1}=@arr2;
foreach(sort keys %hash){
print "$_ ---- $hash{$_}\n";
}
The output i got like this:
C:\strawberry\perl\bin>perl... (1 Reply)
Discussion started by: vanitham
1 Replies
7. Shell Programming and Scripting
I am submitting a concurrent program (of HOST tyme) from Oracle apps screen,
The MAIN shell program submits another program, (child) which is also a Shell program. The child writes data to log file. Now the main program, read the log and do some calculations and sends the data to user through... (1 Reply)
Discussion started by: Pradeep Garine
1 Replies
8. UNIX for Advanced & Expert Users
Hi guys
I have an issue in my sum server . I have perl installed in my machine and when i enter perl -version i get the verson on perl 10.0 but when i enter perl -V i get an error message "perl -V Can't locate Config.pm in @INC"
I would appreciate if some one had faced this issue to share... (1 Reply)
Discussion started by: mohdaleem
1 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I am using Strawberry Perl on WinXP but i am unable to download modules from Cpan via cmd,everytime a connection timeout error pops up.
I get the following error :
C:\>cpan Tk
CPAN: LWP::UserAgent loaded ok (v5.834)
CPAN: Time::HiRes loaded ok (v1.9719)
Fetching with LWP:... (0 Replies)
Discussion started by: parimal14
0 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I have the following simple CGI script, just containg header:
#!/usr/bin/perl -w
use CGI ':standard';
use lib "/home/myname/lib/perl5/site_perl/5.8.5/";
use Mail::Sendmail;
I also have included this directive in ~/public_html/.htaccess :
SetEnv PERL5LIB... (0 Replies)
Discussion started by: monkfan
0 Replies