Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Perl Error with ftptail script Post 302312982 by quirkasaurus on Monday 4th of May 2009 10:04:31 AM
Old 05-04-2009
looks like a perl error.

There may be a mistake in ftptail.
It may be calling a CPAN module that hasn't been installed.
You might try coding it:

perl ftptail -f .... etc...

You might check the path and the PERL5LIB environ variable to
verify that it's getting set properly and properly exported into the ftptail script.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Perl script error

Hi all I keep getting a segmentation fault error while running the script below. #!/usr/bin/perl -w use CGI ':standard'; use GD::Graph::pie; use strict; use warnings; sub trim($) { my $string = shift; $string =~ s/^\s+//; $string =~ s/\s+$//; ... (4 Replies)
Discussion started by: pietie
4 Replies

2. Shell Programming and Scripting

error in output of perl script

Hi, This is my piece of code. my $logFile = $ARGV; die "usage: $0 <logFile>" unless $logFile; die "Logfile $logFile doesn't exist" unless -f "$logFile"; open(my $log, "<", $logFile) or die "Can't open $logFile for reading."; print "Processing file $logFile...\n"; #my $authenticates... (2 Replies)
Discussion started by: namishtiwari
2 Replies

3. Shell Programming and Scripting

Need help understanding perl script error

I solicited this site earlier this week and got a good answer for a perl Script so I made this script from what understood from the answers But now I have a bug and I'm stump. It doesn't parse correctly the Output it stays on the first line My $f2 and reprints in a endless loop I'm sure there... (3 Replies)
Discussion started by: Ex-Capsa
3 Replies

4. Shell Programming and Scripting

Perl script to rename file,error

#!/usr/bin/perl $FL="ch.txt"; $CFL="mytext.txt"; print "This script will rename textfiles."; mv $FL $CFL; print "Done."; perl file.pl Error: Can't locate object method "mv" via package "ch.txt" (perhaps you forgot to load "ch.txt"?) at file.pl line 7. (5 Replies)
Discussion started by: cola
5 Replies

5. Shell Programming and Scripting

perl script processing error

open(IN,"input_file") or die "Can't open Input file.\n"; while (<IN>) { chomp; $line = $_; if($line != '') { print "\nprocessing $line\n"; $size = 0; $hrid = $line; @project_id_array = null; $size = @project_id_array;... (3 Replies)
Discussion started by: vishwakar
3 Replies

6. Shell Programming and Scripting

Perl : Error in calling script

I am getting a strange error with perl's inbuilt script flush.pl. I am callling this script in my other script but it kept throwing error: flush.pl did not return a true value at ./abc.pl line 1 abc.pl has: require 'flush.pl'; Not sure why this error is coming. Can someone pls throw... (4 Replies)
Discussion started by: abhisharma23
4 Replies

7. Shell Programming and Scripting

Error in executing Perl script

Hello All I am facing an issue The unix script is running fine in unix environment which uses ssh connection but when I try to run the same in informatica environment (same server where I was running the unix script manually successfully) its showing the below error command-line line 0:... (11 Replies)
Discussion started by: Pratik4891
11 Replies

8. Programming

getting error in my perl script

hi Here is my code written to identify the particular position which is after a string (chr*). my input file looks some thing like this aaanbb:anhn:iuopl:12345 chr1 12345 asnmkol * # kjiiii.....anmkij:lpolk:lopll:abnnj chr5 123222 polko * dddfgg .... aaanbb:anhn:iuopl:aanjuj chr2 44345 asnmkol... (1 Reply)
Discussion started by: anurupa777
1 Replies

9. Homework & Coursework Questions

A2p, error in the perl script?

1. The problem statement, all variables and given/known data: filename = awkdata Part 1: Write an awk program that removes the first field and prints only those lines where the third field is greater than 15 million. Part 2: Do the same command above, but with perl instead of awk.... (0 Replies)
Discussion started by: AZbase10
0 Replies

10. Shell Programming and Scripting

Slight error with my perl script that I could use some help on

So I have a perl script that prompts the user to enter either q or Q to exit the program or c to continue said program. If the user inputs anything other than those three keys they will be prompted again and again for an appropriate input. My script works for the most part except for one small... (6 Replies)
Discussion started by: Eric1
6 Replies
DhMakePerl::Utils(3pm)					User Contributed Perl Documentation				    DhMakePerl::Utils(3pm)

NAME
DhMakePerl::Utils - helper routined for dh-make-perl and alike SYNOPSIS
use DhMakePerl::Utils qw(is_core_module); my $v = is_core_module('Test::More', '1.002'); my $v = nice_perl_ver('5.010001'); FUNCTIONS
None of he following functions is exported by default. find_cpan_module Returns CPAN::Module object that corresponds to the supplied argument. Returns undef if no module is found by CPAN. If the CPAN module needs to be configured in some way, that should be done before calling this function. find_cpan_distribution Returns CPAN::Distribution object that corresponds to the supplied argument. Returns undef if no distribution is found by CPAN. If the CPAN module needs to be configured in some way, that should be done before calling this function. is_core_module module, version Returns the version of the "perl" package containing the given module (at least version version). Returns "undef" if module is not a core module. nice_perl_ver version_string Reformats perl version to match Debian's perl package versions. For example 5.010 (and 5.01) is converted to 5.10. core_module_perls module[, min-version] Returns a list of Perl versions that have module. If min-version is given, the list contains only Perl versions containing module at least version min-version. find_core_perl_dependency( $module[, $version] ) return a dependency on perl containing the required module version. If the module is not available in any perl released by Debian, return undef. split_version_relation string Splits the string, typicaly found in dependency fields' values in CPAN META into relation and version. If no relation is found in the string, ">=" is assumed. Returns a list of relation and version. The relation is suitable for using in debian package dependency version requirements. For example split_version_relation('0.45') returns ( '>=', '0.45' ) split_version_relation('< 0.56') returns ( '<<', '0.56' ) COPYRIGHT &; LICENSE Copyright (C) 2008, 2009, 2010 Damyan Ivanov <dmn@debian.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. perl v5.14.2 2012-01-15 DhMakePerl::Utils(3pm)
All times are GMT -4. The time now is 02:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy