On Sat, 20 Feb 1999, Ray Olszewski wrote:
> Actually, the line won't work in perl *as written* because two details are
> wrong:
> 1. y is not a legal variable name in perl; it has to be $y
> 2. in perl, lines have to end with semi-colons

        I know these things.  They are pretty well explained in the manual
I have.  That was a shell script line.  And I wanted to know how would
look the perl script that does the same.  I mean how it will look the part
of the script that will search inside of a file (eventually open it) an
arbitrary string, it will chose the last line found and put in a scalar
the charaters of a defined field.  Can this be done only in perl?  Without
the help of extranal commands?
 
        Raider
--
                ``Liberate tu-temet ex inferis''

Reply via email to