Sponsored Content
Full Discussion: Perl script error
Top Forums Shell Programming and Scripting Perl script error Post 302247247 by pietie on Wednesday 15th of October 2008 09:05:19 AM
Old 10-15-2008
That was my first guess as well. So I started playing around.

After I commented out the graph drawing, the segmentation fault went away.

That was probably because after I commented it out, it didn't need to read the array again

I am not sure about that though

Regards
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Perl Error with ftptail script

Hello everyone, I'm a starting website admin who 2 days ago decided to make the move from shared hosting to a vps on a linux (ubuntu 8.04) platform. This opened a whole new world for me, since I never worked with the console, SSH, linux,... before. I managed to get LAMP setup after a day of... (2 Replies)
Discussion started by: Cooki3s!
2 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
pcserver(1M)															      pcserver(1M)

NAME
pcserver - Basic Serial and HP AdvanceLink server SYNOPSIS
[log_file]] DESCRIPTION
is the hostside server program for Basic Serial and AdvanceLink, and is started and terminated by an application program running on a PC. supports both the Basic Serial and the AdvanceLink protocols. Basic Serial offers a library of routines that support a variety of services between a PC and a serially connected host computer, including file transfers and remote interprocess communications. AdvanceLink is a terminal emulation program that also supports file transfers between a PC and host system over various physical connec- tions. Options The following options are recognized by pcserver: This option is now obsolete, but is retained for compatibility with earlier versions of software. Logging is now controlled by the presence or absence of the server.pro file as described in NOTES, below. Enables packet logging and records messages to a specified log file (for debugging). If logfile is not specified, the file is used in the default logging directory, as defined in the file. looks for a local version of server.pro in the user's home directory. If none is found, it will look for a system-wide version as or If the exists, logging is appended to it. If the file does not exist, logging is disabled. Informs that a "netmode" for data encryption should be used during special operations (for example, a netmode is needed to mask device control characters when a PAD is being used). The details of the netmode are then negotiated between the and the PC application. For a more comprehensive discussion on netmode, see Causes to print its version number to standard output and quit. is designed to be invoked by a PC application program rather than from the command line. In order for the connection to be correctly established, the PC and host port must be properly configured. If you are using to manage a session between a PC and a hostside application (via Basic Serial), you may need to use a Basic Serial connec- tion file to actually log in to your account. Establishing connections using Basic Serial connection files is a sensitive operation. Before attempting to use them, you should read the manual If you are using to transfer files between a PC and a host machine via Advancelink, use the following AdvanceLink commands: If your prompt does not end with replace the in the terminator command with the last character in your normal prompt. To permanently configure AdvanceLink for the HP-UX version of refer to the manual for more information. NOTES
Packet logging is controlled by the presence or absence of the file looks for a local version of in the user's home directory. If none is found, it will look for a system-wide version as or If no logging file is found in these directories, logging is not performed. A commented example of a may be found in or To make use of this file, copy it to the active file name, in one of the previously mentioned directory locations. If your screen displays a message when you choose START TRANSFER from AdvLink, either has not yet been installed on your HP-UX system, or it has been installed in a directory that is not part of your current path. HP-UX treats files containing binary or ASCII data identically. Therefore it is up to the user to specify the desired file type when using to transfer files with Advancelink. The difference between the two is that during ASCII transfers, maps HP-UX line-feed characters to the MS-DOS carriage-return/line-feed pair. This produces incorrect results when transferring a binary file as an ASCII file. Also, older versions of AdvanceLink show totally inaccurate estimates for file transfer times. This does not interfere with the actual transfer. If the PC is reset while a transfer is taking place, it may temporarily appear to be a "dead" terminal port. This is no cause for alarm; left to its own devices, will restore the port in a short time. In the worst case, it could take six timeout periods (6x20 = 120 seconds). For faster response, press the Break key a few times to terminate immediately. FILES
the executable program system-wide logging profile system-wide logging profile local logging profile commented inactive example of server.pro commented inactive example of server.pro SEE ALSO
Describes protocol and how to use AdvanceLink. Describes Basic Serial and how connection files should be used. pcserver(1M)
All times are GMT -4. The time now is 04:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy