I am new to perl and want to get a little better understanding of debugging code in perl. I have a perl script that has questions to be answered like:
So what I have been doing is using:
and simply stepping through each line in the code. I use bash and frequently use:
to watch the code execute line by line, answering any questions that come into my path. So naturally my question is how to do I do that with perl?
---------- Post updated at 10:43 AM ---------- Previous update was at 09:54 AM ----------
disregard question, I figured it out in that it was taking to long to get to the question in the script when I was stepping through each line because the script calls other pm and etc.
---------- Post updated at 10:43 AM ---------- Previous update was at 10:43 AM ----------
disregard question, I figured it out in that it was taking to long to get to the question in the script when I was stepping through each line because the script calls other pm and etc.
Last edited by metallica1973; 06-08-2014 at 11:01 AM..
Hi everybody,
I have been looking for an answer to this issue both on google and on the forum, but I couldn't find anything. please help me :eek:
As part of an automated (in perl) install of Solaris 9, I would like to be able to answer automaticaly to the question the installer asks.... (2 Replies)
More questions for Perl on Windows (again I apologize its on windows... )
1. How can I check free disk space on a drive in windows using perl command in a script?
2. How can I check processes running using perl command (as I would normally be able to see in task manager for example)
3. I... (7 Replies)
I installed Net::sftp on a solaris 8 server and I am able to successfully transfer files to the remote server. I am running the command out of a script with debug=1 on so I can see the verbose output.
The last two lines of the debug output show it couldn't fsetstat, but I don't know what that... (2 Replies)
Is there a command line flag to lpr or a utility similar to the Unix 'xtod' command to fix stair stepping when printing?
Under Unix I would:
# cat textfile | xtod | lp -d lineprinter
Anything like that for linux?
Thanks (1 Reply)
On a RAID-5 solaris 9 server, we replaced a bad disk.
Upon boot up, a mount point failed:
vxvm:vxvol: ERROR: Volume IQ_Staging is not startable; some subdisks are
unusable and the parity is stale
With Sun tech support, we tried vxvol start and vxvol resync, but it remained... (3 Replies)
Is there a way to see or print a sub code?
Sometime a sub could be already defined, but in the debug mode (so, interactively) it could be already out of screen.
So, I would think about a way to check if the sub is defined (just 'defined' is not a problem) and how it is defined.
Also, if... (4 Replies)
I have a shell program which calls a perl program.
I am running the shell program with command;
$ ksh -x <prog_name>
Inside the shell program, I am calling perl with warnings.
I want to capture the entire output as it comes on screen.
The command I tried is:
$ ksh -x... (1 Reply)
Hi,
I am trying to get squid up and running using a redirector process, and every time I try to load a web page, squid fails miserably.
Can some one with perl and squid knowledge take a look at these codes and tell if something is wrong here.
#!/usr/bin/perl
#
$| = 1;
@endings = qw/... (0 Replies)
Discussion started by: jamie_123
0 Replies
LEARN ABOUT DEBIAN
build-lives-rfx-plugin
build-lives-rfx-plugin(1) General Commands Manual build-lives-rfx-plugin(1)NAME
build-lives-rfx-plugin - builds rendered effects for LiVES
SYNOPSIS
build-lives-rfx-plugin script_name [plugin_dir] -get section file
DESCRIPTION
This perl script is used by LiVES to compile an RFX (rendered effect) plugin for LiVES. It is generally called from build-lives-rfx-plugin-
multi for a script which has a language code representing LiVES-perl. The script_name must be the full (absolute) path to the plugin
script, and plugin_dir can be used to specify the output directory where the compiled plugin should be generated. If plugin_dir is not
defined then /tmp is assumed.
The second variant with -get is used to print out a script section from a plugin script to stdout. It is generally only used internally by
LiVES.
Return values The script returns the following values
0 - success 1 - the value of a trigger was greater than the number of parameters 2 - a value could not be read from the script file 3 - the
language code of the plugin script was not equivalent to LiVES-perl 4 - the API version level of the plugin script was invalid 5 - the
<define> section was missing from the plugin script
SEE ALSO build-lives-rfx-plugin-multi(1), lives(1)AUTHOR
Gabriel Finch a.k.a Salsaman (salsaman@xs4all.nl)
May 9 2010 build-lives-rfx-plugin(1)