in reply to Re: Re: Perl scripts to do extraction into Sybase
in thread Perl scripts to do extraction into Sybase
2 issues for you, best tackled one at a time. I've had to learn to do them both over the last little while, and barely suffered at all :)
#!/usr/local/bin/perl -w if (open(MYFILE, "path/to/file")) { $line = <MYFILE>; while ($line ne "") { print ($line); $line = <MYFILE>; } }
Have a look at davorg's reply below as well :)
*~-}o{-~*
|
|---|