10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Linux System having all Perl, Python, PHP (and Ruby) installed
From a Shell script, can call a Perl, Python, PHP (or Ruby ?) file
a Shell script run in a case statement call to run a php file, also Perl or/and Python file???
case $INPUT_STRING... (1 Reply)
Discussion started by: hoyanet
I have reviewed many examples on-line about running another process (either PERL or shell command or a program), but do not find any usefull for my needs way. (Reviewed and not useful the system(), 'back ticks', exec() and open())
I would like to run another PERL-script from first one, not... (1 Reply)
Discussion started by: alex_5161
3. Shell Programming and Scripting
I'm trying to run "csso" (minify css) in a CGI script from the web panel.
That is not working: Returns error 0;
my $cmd = qq`csso stylesheet.css > stylesheet.min.css`;
But that is working:
my $cmd = qq`echo 'blabla' > stylesheet.min.css`;
I'm... (12 Replies)
Discussion started by: madispuk
4. Shell Programming and Scripting
I have a requirement as follows.
when i pass a date to the perl script, it has to calculate the current date - 8 months and output the date back to the shell script in date format (YYYY-MM-DD).
Current date - 8 months is not constant.. because leap year, and the months jan, mar, may,.... has... (4 Replies)
Discussion started by: kmanivan82
5. Shell Programming and Scripting
i want create perl script to connect remotely to another machine and run perl script
please note that the remote script check for different variables remotely and not located on local machine
also i want to know how to send interactive variables
i am trying to make script to... (2 Replies)
Discussion started by: mogabr
6. Shell Programming and Scripting
If I run this command on the server it works.
# dbc "update config set radio_enabled = 0;"
how can I execute the same command in perl. I have defined the dbc path. Can any one please correct the last line.
$dbc='/opt/bin/psql -Userver... (0 Replies)
Discussion started by: sureshcisco
7. Shell Programming and Scripting
I have a query about processing and running Perl program at the background.
I have HTML file called Userform.html which accepts input from the user. As soon as input is given the contol goes to get.cgi (get.cgi does some processing and computing tasks).
Actually get .cgi takes more... (0 Replies)
Discussion started by: vanitham
8. UNIX for Dummies Questions & Answers
I have written simple perl script, which assign the value to variable and print it. Following is the script:
$ cat 3.pl
print "Hello World";
$iputlne = 34;
The error output is:
$ /usr/bin/env perl 3.pl
Hello World... (9 Replies)
Discussion started by: Amey Joshi
9. Shell Programming and Scripting
I have more than 1 files in the directory. In bash, I can use
for x in `ls`
to run for each file in the directory.
How about in perl script?
open(FILE, $filepath) or die "$filepath cannot be opened.";
: (1 Reply)
Discussion started by: natalie23
10. UNIX for Dummies Questions & Answers
Recently i had finished a perl script. When i run manually, the script work fine.
But when i wanted to put the script in cron, it didn't get the same output as it run manually. I felt that it only execute the script until certain line then it stop as i see most of the related files didn't... (6 Replies)
Discussion started by: AirWalker83