| revdiablo | What version of perl are you using, by the way? |
| Khisanth | well STDOUT is probably not set to use utf16 either :) |
| Cbro | have to use ActivePerl unfortunately |
| action | Khisanth goes to drill some wells |
| Khisanth | goes to drill some wells |
| revdiablo | Cbro: Yes, but what version |
| Khisanth | version number |
| Cbro | k hang on |
| revdiablo | perl -v |
| Cbro | 5.8.8 |
| DrCherry | oh I know what I was thinking of .. @file = <>; |
| revdiablo | PerlJam: Heh, yeah... vim can delete the first line and convert it to a different encoding. But I assume he wants to automate this Cbro: Ok. Check the return value of open() to make sure it's not failing. |
| Cbro | okie |
| PerlJam | Cbro: perldoc perlopentut # read this too |
| ology | Why is using ActivePerl unfortunate (besides being on Winblows)? |
| revdiablo | Cbro: You've done it on the other two open calls, just not the new one |
| PerlJam | ology: you're stuck with PPM and don't have access to most of CPAN. |
| Cbro | it says it cannot find the file when it is there |
| PerlJam | Cbro: clearly not. |
| Cbro | and the other OPEN command picks it up |
| ology | ah yes |
| Korthrun | Anyone know where I would look (or search terms) to learn more about whacky one liner syntax like 'do_stuff if $foo;' instead of 'if ($foo) { do_stuff; }' |
| PerlJam | Korthrun: perldoc perlsyn |
| Korthrun | thanks |
| revdiablo | Cbro: Let me try on my system, the way I showed you to open may have been wrong |
| f00li5h | Korthrun: they're just postfixed versions, so i'd presume they'd be with their non-prefixed versions |
| Cbro | revdiablo: thanks |
| f00li5h | i guess -f... but i'm not sure |
| DrCherry | revdiablo, mistakes?! how is this possible!?!?! I mean are we helping or "helping" here? |
| erider | Cbro: this maybe an issue on a windows machine: S:/TEMP_DEFECTED.csv |
| Khisanth | revdiablo: I don't think :utf16 is correct, should probably be :encoding(utf16) :) |
| revdiablo | erider: Nope, windows perl can handle that okay |
| erider | Cbro: is it on your S drive |
| revdiablo | DrCherry: Try Khisanth's suggestion Err Cbro: That was to you |
| DrCherry | I'm sorry, I just get irritated when someone "helps" another with bad advice |
| revdiablo | Yeah, <:encoding(utf16) is working for me |