| Bogaurd | Jmax-: I'm having a look at file::tail, but the example syntax seems a bit confusing (i'm quite new to perl) |
| Jmax- | heh |
| IceShaman | is there an eays way to DES a pass and salt, crypt() on a new system is giving md5 hashes out, which aren't compatible with the old ones... |
| Bogaurd | Jmax-: something like this ok? $log = File::Tail->new(name=>"$_",debug=>"$debug"); |
| Jmax- | well you don't need to use quotes for variables like that |
| Bogaurd | ok can I then do something like $log::select(); ? |
| Jmax- | no $log->select |
| Bogaurd | oh ok Jmax-: Do you mind if I PM you a couple of lines of syntax? |
| Jmax- | perlbot nopaste |
| perlbot | Paste your code at http://sial.org/pbot/perl and #perl will be able to view it |
| Bogaurd | ok |
| pasteling | "Bogaurd" at 219.90.171.1 pasted "I'm looking to use file::tail rather than linux tail" (7 lines, 256B) at http://sial.org/pbot/24392 |
| Jmax- | yes Bogaurd that should be fine |
| Bogaurd | ah nice |
| Jmax- | you don't need quotes for $_ though, unless you're purposefully string-ifying it |
| Bogaurd | how can i change the interval between reads? yeah, i just relalised that ($_) |
| Jmax- | that's a blocking read |
| Bogaurd | oh right so it'll just sit there trying to read |
| Jmax- | yeah |
| Bogaurd | ok.. let me try it out :) hmm nothing coming back Jmax- :-( oh wait.. now there is, just took a long time to show up |
| Jmax- | heh |
| Bogaurd | yeah, it looks like it's sleeping for a while it returns chunks of 5 or 10 lines at once every 10 secs or so |
| shardz | When executing a system command with `<command>` , can I use scalars as part of the command? As in, `ls $dir`? |
| Jmax- | yes |
| action | CPAN upload: Email-MIME-XPath-0.003 by HDP |
| CPAN | upload: Email-MIME-XPath-0.003 by HDP |
| shardz | Jmax-: thanks |
| Jmax- | Flibble19642: jerk it |
| Flibble19642 | Jmax-: CHIRP PIRP CHIRP PIRP CHIRP PIRP HYPNOTIZING ME CHIRP YOU'RE GAY CHIRP YOU'RE GAY CHIRP GAY A GAY CRICKET IN THE BIG BIG CITY FROG AND TOAD ARE FAGS |
| Jmax- | (satisfied customer)++ |