Hello,
I have this script here:
#!/usr/bin/perluse warnings;use strict;
print "PID=$$\n";
my $child = fork();die "Can't fork: $!" unless defined $child;
if ($child > 0) { # parent process print "Parent process: PID=$$,
child=$child\n";} else { # child process my $ppid = getppid(); print
Hello,
I have written this script. I have a good understanding of all but line:
$return = ($end - $start) / $start * 100;
If I start with 1000, and end with say..900 or vise versa. You subtract
first then?
Thank You for your help!
#!/usr/bin/perl
use warnings;
$start = 0;
$end = 0;
$return =
Hello All,
I just recently loaded linux onto my laptop. I hope this was not a bad move.
But I cannot find the Activstate Perl I downloaded.I am using openSUSE
Linux.
I also am having trouble deciding which is the command line to open my
scripts.
There is the : Gnome Terminal, the Konsole, the x
Hello all,
I was wondering if someone could explain lines: 14, 17, 18, 21, 27, and 43
please. I understand the bulk of the script. But to put it all
together would better. Thanks so much!
1. #!/usr/bin/perl
2. # hangman.pl
3. use warnings;
4.
5. @words = qw(internet cyber groups information);
Hello All;
I was hoping to write this script in a more concise manner, also
eliminate the error I get with it, along with correcting it indexing at only
one occurence. Thanks for your help!
#!/usr/bin/perl
use warnings;
print ($TargetString = <;
chomp($SearchString);
print "\nSearch begun for \"
Hello All,
I have here a script, which all runs well with the exception of the: print
"value
looks like a city, state, and zip code.\n";. I can type in Upper or
Lowercase letters in any
combination along with the zip, but I still get the error: "I couldn't
figure out what that
value is. Can you
Hello All,
I was studying some pattern matching. And I ran into this piece of code.
Now I believe I understand it up until the the last part \1.
Can someone explain it for me please?
Match lowercase a through z, uppercase A through lc z
no more than three times, with white space zero or one times
Hello,
I had two scripts that were identical, well almost. I ran the two together,
but
straghtened them out. Anyway I have one here, that when ran say's: Use of
uninitialized
value in pattern match (m//) at headline.pl line 7 and 10. I have changed
differernt things
within, nothing worked. It i
Hello again,
I have rewrote this script I hoped the way you told me.
And now I have just one error that states: Use of uninitialized value in
hash element at
names.pl line 24, <> line 1.
Forgive me, but I'm not sure what's going on here.
#!/usr/bin/perl
use warnings;
use strict;
my %names
Hello,
I have a script here, I have been going over and over.
Every time I run it I get several errors, and I have tried to fix them to no
avail.
Can someone tell me what line I missed, please?
Thanks for your help!
#!usr/bin/perl
use warnings;
use strict;
%names = ();
@raw = ();
$fn = "";
Hello,
I have a script here, that when I run it, it gives me this: Can't return
outside a
subroutine at tire.pl line 14. Can someone help me figure out what I'm doing
wrong?
Thank You very much for your help!
#!/usr/bin/perl
# tire.pl
use warnings;
package CreateTire;
sub new {
my $tire = {}
Hello, All
I seem to be getting an error I don't quite understand.
Can someone point out why I'm geeting this error?
The first error states: unquoted string "subroutines" may clash with
future reserved word at NPtest.pl line 6.
after I quote "subroutines" I get an error that states:
syntax err
Hello;
I have a script here, that for some reason I cannot get to
print out. Can someone please point out what I may be doing
wrong? I know I am going to feel like a Dummy!
Thanks so much for your help!!
@array1 = (a, b, c,);
@array2 = (1, 2, 3,);
sub collect {
($value1, $value2) =
13 matches
Mail list logo