11-22-2013
Sometimes, 'file not found' can mean it can't find a library. Check that perl runs properly when you run it by hand.
But I suspect it really means what it says -- the file really, genuinely isn't there. Look very closely for typos.
This User Gave Thanks to Corona688 For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I have this code, and i want work with a ls -shalR output in .txt
What i need read to do this??
Where start?
#!/usr/bin/perl
# Allrights- A perl tool for making backups of file permissions
# Copyright (C) 2005 Norbert Klein <norbert@acodedb.com>
# This program is free... (1 Reply)
Discussion started by: joangopan
1 Replies
2. Shell Programming and Scripting
hi,,
i have perl scipt with line :
system('./try.sh $t $d $m');
in shell scipt try.sh i have the line:
echo $1
its not printing value of $t that i hav passed..y is it so..i am running it from apache web server (2 Replies)
Discussion started by: raksha.s
2 Replies
3. Shell Programming and Scripting
Novice to perl here.
I have created a simple web page in perl, with only one submit button. I would like to execute a bash script on the same server when this button is clicked on.
Is this possible in perl? I have spent a few days researching this and am unable to find any useful information.... (0 Replies)
Discussion started by: pleonard
0 Replies
4. Shell Programming and Scripting
Hi
I m new to perl. I m trying to write a perl script that calls a bash script; does anyone have a script already that they can provide or help me out? Thanks a lot. (2 Replies)
Discussion started by: adnan786
2 Replies
5. Shell Programming and Scripting
I am writing a script to write to and a sort txt file. After I sort the file I want to add 2 to each line of the file. My script thus far is
#!/bin/bash
cat > /ramdisk/home/stux/unsortedints.out
COUNT=0
FILE =/ramdisk/home/stux/unsortedints.out
for i in {1..100}
do
NUMBER = $
echo $NUMBER... (3 Replies)
Discussion started by: puttyirc
3 Replies
6. Shell Programming and Scripting
Ok, don't ask me why, but all calls to perl must be called by a shell script. Its really not ideal, but its what I have to work with.
Calling it isnt the issue, its passing in the arguments.
I have about 1000 perl scripts to call by a shell script. Right now, I'm executing the shell script... (3 Replies)
Discussion started by: regexnub
3 Replies
7. Shell Programming and Scripting
In a bash script, one can call a perl command in the following manner, where "myperlcommand" is a perl command.
perl -e 'myperlcommand(arguments)'
perl -e 'print("UUUU"x4)'
Now, how can one call a bash command from within a perl script? (Suppose that mybashcommand is a bash... (1 Reply)
Discussion started by: LessNux
1 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
Just have a requirement, I am executing a bash shell script, my requirement is to catch the pid and job name to a txt file in the same directory, is there anyway to do it? please help me out.
Regards
Rahul
---------- Post updated at 08:42 AM ---------- Previous update was at... (2 Replies)
Discussion started by: rahulkalra9
2 Replies
9. Shell Programming and Scripting
Hi,
I need help in writing a shell script which can read data from a text file (Cancel_ID.txt) and then calls sqlplus session (Cancel.sql) with the first line parameter of the text file ("0322600453") till all rows are not completed.
... (4 Replies)
Discussion started by: Khan28
4 Replies
10. Programming
Hi, I am complete new to C programming and shell scripting. I just wrote a simple C code to calculate integral using trapezoid rule. I am prompting user to pass me No. of equally spaced points , N , upper and lower limit. My code looks as follows so far:
#include<stdio.h>
#include<string.h>... (2 Replies)
Discussion started by: bjhjh
2 Replies
LEARN ABOUT OSX
scandeps.pl
SCANDEPS(1) User Contributed Perl Documentation SCANDEPS(1)
NAME
scandeps.pl - Scan file prerequisites
SYNOPSIS
% scandeps.pl *.pm # Print PREREQ_PM section for *.pm
% scandeps.pl -e 'STRING' # Scan an one-liner
% scandeps.pl -B *.pm # Include core modules
% scandeps.pl -V *.pm # Show autoload/shared/data files
% scandeps.pl -R *.pm # Don't recurse
% scandeps.pl -C CACHEFILE # use CACHEFILE to cache dependencies
DESCRIPTION
scandeps.pl is a simple-minded utility that prints out the "PREREQ_PM" section needed by modules.
If you have CPANPLUS installed, modules that are part of an earlier module's distribution with be denoted with "S"; modules without a
distribution name on CPAN are marked with "?".
Also, if the "-B" option is specified, module belongs to a perl distribution on CPAN (and thus uninstallable by "CPAN.pm" or "CPANPLUS.pm")
are marked with "C".
Finally, modules that has loadable shared object files (usually needing a compiler to install) are marked with "X"; with the "-V" flag,
those files (and all other files found) will be listed before the main output. Additionally, all module files that the scanned code depends
on but were not found (and thus not scanned recursively) are listed. These may include genuinely missing modules or false positives. That
means, modules your code does not depend on (on this particular platform) but that were picked up by the heuristic anyway.
OPTIONS
-e STRING
Scan STRING as a string containing perl code.
-c Compiles the code and inspects its %INC, in addition to static scanning.
-x Executes the code and inspects its %INC, in addition to static scanning.
-B Include core modules in the output and the recursive search list.
-R Only show dependencies found in the files listed and do not recurse.
-V Verbose mode: Output all files found during the process; show dependencies between modules and availability.
Additionally, warns of any missing dependencies. If you find missing dependencies that aren't really dependencies, you have probably
found false positives.
-C CACHEFILE
Use CACHEFILE to speed up the scanning process by caching dependencies. Creates CACHEFILE if it does not exist yet.
SEE ALSO
Module::ScanDeps, CPANPLUS::Backend, PAR
ACKNOWLEDGMENTS
Simon Cozens, for suggesting this script to be written.
AUTHORS
Audrey Tang <autrijus@autrijus.org>
COPYRIGHT
Copyright 2003, 2004, 2005, 2006 by Audrey Tang <autrijus@autrijus.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See <http://www.perl.com/perl/misc/Artistic.html>
perl v5.16.2 2012-02-21 SCANDEPS(1)