|We don't bite newbies here... much|
Autosplit-Mode and $F vs @Fby strat (Canon)
|on Feb 20, 2003 at 23:35 UTC||Need Help??|
strat has asked for the
wisdom of the Perl Monks concerning the following question:
every time I use a perl-onliner with -ane and @F, I wonder why I can't access a single column of the input file with $F (which contains undef) but have to use @F and will get warned if I enable warnings about like the following way:
An example code may be:
For input file, I used an apache access-log where the spaces were replaced by a tab as separator.
Do you know the reason for this strange behaviour?