I'm just starting to learn PERL and loving it. I am looking at some scripts
to see how they're written, and I had a question about script "flow".
The script I'm looking at has a lot of subroutines in it. Am I correct in
assuming that when a PERL CGI script runs, execution starts at the beginnin
I'm new to PERL and I've been given a program to analyze - and it's BIG. I
need to change and add some variables. What might help me greatly is if I
could obtain a crossreference program that would tell me where all the
variables are defined and used. I could use a search in wordpad or etc. but
a
I am a total beginner to perl. I wrote the program below to open a program
file, read it line by line, and write each line to an output file after
first putting two string lines out there. It compiles without errors but the
output is a filename with zero length. What did I do wrong? Thank you!
I'm new to using the debugger and have printed and read the debugger
description and commands. It mentions that you can create a
command/parameter file that contains commands but doesn't say how or where
it must be located. I would like to have some way of doing an autotrace on a
PL program as it
This might be a really strange question, but I need to ask -
Does PERL execute from beginning through the program in a linear fashion,
"jumping around" subroutines unless they're called?
I have a program that's structured as shown below (assume vars and
statements are different) and need to know
Can anyone refer me to where I might be able to find the code to do a mod 10
check digit calculation so that I can use it as a guide in creating a
subroutine to do that? I have the info and theory but need an example to see
how it's actually done. Thanks!
--
To unsubscribe, e-mail: [EMAIL PROTE
Can anyone suggest where I might be able to find (hopefully a freeware
or shareware script..) a program that runs either on a windows system or
a PERL script that would "encrypt" a perl script by doing such things as
removing whitespace, etc. so that it is much more difficult to read but
yet will
I'm new to PERL and am trying to learn by reading some PERL programs.
My question is this - does PERL execute sequentially and "skip around"
embedded subroutines or
Does it execute them inline?
For example, if the program has the following set of code lines
Line1
Line2
Line3
Sub1
Subcode1
Subc
I'm new with PERL - I have a very simple PERL program that will accept
data from an HTML program and send it out as an email. In the HTML
program, the data items are filled in and then the PERL/CGI program is
called by a POST. The PERL/CGI program runs, the screen goes blank and
the email is sent.
The ISP that I use seems to be always restoring files with the result
that although my PERL files are there, the permissions get clobbered
when they do the restore. Is there any way I can write a PERL\CGI
program that I can run on the server that will allow me to reset the
permissions on a file? I
I am writing a program that uses the CHMOD function to set permissions
on a file. I'd like to then be able to "read" or "retrieve" the
permission value for that file and compare it against what I wanted to
set it to to know if it actually did get changed. I searched the
fuctions that are built int
Thank you!
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 03, 2003 11:28 AM
To: Copits Richard; [EMAIL PROTECTED]
Subject: RE: How do I retrieve permissions?
On Fri, 3 Jan 2003 11:12:43 -0500,
I think I'm right, but I want to verify it. I'm learning PERL on my own
and "decomposing" some programs to see how they "flow". My question is -
given the following program "structure", what will print out?
Print "one"
Subroutine aa
print "two"
End
Print "three"
Print "four"
Subroutine bb
pr
I have a case where I need to use a command-line switch such as -X or /x
Could anyone help me with information as to how I read this into a perl
script and test it - along the lines of "if "/x" then..." ??
I've searched but can't seem to find any concrete example that a newbie
like me can use as
Thank you! This is exactly what I need. The 17 pages in the PERLDOC lib
info on Getopt::Long were a bit daunting/intimidating and for me like
driving a nail with a shotgun This sample code gives me a really
good example that shows the concept! Thank you for sharing it!
-Original Message-
15 matches
Mail list logo