Is the a formatted read in perl? I have fixed length
records that need to be split up into separate
fields/variables and there is no delimiter. I've
checked my perl book and can not find anything other
than doing a series of substr's.
Thanks,
rj
_
Greeting:
When I execute the following:
<>;
print;
I get the error message "Use of uninitialized value in
print"
but when I exectue:
while (<>) {
print;
}
I get what I type in echoed back to my screen.
Why does the first snippet of code get an error
message and the second not?
Thanks,
rj
Why does
<>;
print;
give the error "Use of uninitialized value in print"
and
while( <> ) {
print;
}
not give that error or any other for that matter (and
I do realize the infinite loop aspect of the while
loop)
Thanks,
rj
__
Do you Yahoo!?
Yahoo! SiteBuilder -
I am writing several subroutines that I want to make
available to other programs without directly including
the code in those programs. Can anyone explain how to
do this or where to go to find out how to do it.
TIA,
rj
__
Do you Yahoo!?
Find out what made the Top Y