Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

【Newbie】var eq range of ##?【PERL】

Name: Anonymous 2009-08-11 3:13

/prog/ I need help.

I have two variables $first and $last. Both of these are numbers, for example 5 and 10.

I need a script to print a line whenever variable $line (also a number) is equal to any number in the range $first to $last

What's the best way to go about it? Is there some neat Perl trick?

Name: Anonymous 2009-08-11 23:32

You'll note that in that tiny line of C code he made 3 obvious errors.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List