| perlygatekeeper | well there, perl seemed to be able to convert the string '1' into some integer format, add one to it and return that |
| jonsmith1982 | eval: print |
| buubot | jonsmith1982: HASH(0xa04cfd8) 1 |
| jonsmith1982 | why is return print a hash? |
| ks | isn't it a concatenation, perlygatekeeper ? |
| hobbs | eval: $_ |
| buubot | hobbs: {file => 'eval.pm',syntax => qr/(?-xism:^\s*((?:[^:,;\t \n_-]+[:,; -]\s*)?eval:.+))/,code => sub { "DUMMY" }} |
| hobbs | ks: read all, not just half. |
| perlygatekeeper | ks:? |
| Ani-_ | ks: his first example is an addition, his second example is a concatenation. |
| ks | Ani-_ perhaps i misread it |
| perlygatekeeper | eval: $x='1'; $x++; $x; |
| buubot | perlygatekeeper: 2 |
| perlygatekeeper | eval: $x='1'; $x .= " cat"; $x; |
| buubot | perlygatekeeper: 1 cat |
| Ani-_ | ks: perhaps you can't read? |
| ks | Ani-_ yeah i even can't type (piss) |
| Ani-_ | ks: perhaps you are unable to understand everything that was said? |
| perlygatekeeper | ks: so perl just sort of works |
| Ani-_ | s/sort of //; :) |
| ks | Ani-_ yeah you are the winner |
| perlygatekeeper | eval: $x='1.000'; $x .= " cat"; $x; |
| buubot | perlygatekeeper: 1.000 cat |
| perlygatekeeper | eval: $x='1.000'; $x++; $x; |
| buubot | perlygatekeeper: 2 |
| Ani-_ | ks: you are going in the wrong direction... |
| perlygatekeeper | eval: $x='1.0e01'; $x++; $x; # ok this addition example is pretty cool |
| buubot | perlygatekeeper: 11 |
| perlygatekeeper | eval: $x='1.0e01'; $x .= " is a lot of cats to own"; $x; # ok this addition example is pretty cool |
| buubot | perlygatekeeper: 1.0e01 is a lot of cats to own |
| perlygatekeeper | ks: are you impressed/confused yet? eval: $x='ab'; $x++; $x; # increment a string WTF?l |
| buubot | perlygatekeeper: ac |
| ks | perlygatekeeper that's pretty lots of job done language writer |
| rindolf | perlygatekeeper: whoa! spam. |
| perlygatekeeper | spam? |
| rindolf | ks: have you read Beginning Perl yet? |
| Dieu | Hi all, have a problem on this subrouting: http://sial.org/pbot/23873 |
| rindolf | ks: or my Perl for Newbies at least perlbot: newbies |