I am trying to write a perl program to accumulate certain information from a squid access file. When I run my script the bytes downloaded is about 600 MB but when I run calamaris I get 2Gig! While looking at calamaris I noticed that the split() to split log lines is different. I use
@line_elements = split(‘ ‘);In calamaris it appears in vim to be
@cache = split(u)where u appears to be the greek letter for micro (WEIRD!). If I open it in emacs it appears like:
@cache = split '?';Can someone enlightenment me as to what is going on here? What would others use in split?
In reply to Splitting squid log lines with perl by blm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |