27;ve wondered the same thing.
--
Jason Ledbetter
Data Conversion Specialist
Perl Monk and Ascii Ninja
Cadmus Professional Communications
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Ergh. I've got this feeling I misunderstood your question. If so, forgive me.
--
Jason Ledbetter
Data Conversion Specialist
Perl Monk and Ascii Ninja
Cadmus Professional Communications
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [
for my $i (1 ... $num) {
s/$pat/$pat+$i/;
}
Get me?
--
Jason Ledbetter
Data Conversion Specialist
Perl Monk and Ascii Ninja
Cadmus Professional Communications
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
MAINLOOP;
}
But for that to work, you have to put a label on your main loop. I.e.:
MAINLOOP: while ($tom = "yay") {
Now, if your main loop is actually in a subroutine, use "return," just like in C.
> sub find_entry {
>my $href = shift;
>my $key = shift;
You c
//g;
(or)
$string =~ s/\s//g;
The first would just gack the spaces, while the second would gack spaces, line
returns, etc. The /g makes it global. Like I said, I'm sure there's a better way, but
it's too early to think of one.
Would tr// be a better choice?
--
Jason Ledbetter
Da