Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Join Up or Hush Up

by Petras (Friar)
on Oct 17, 2007 at 02:25 UTC ( #645349=note: print w/ replies, xml ) Need Help??


in reply to Join Up or Hush Up
in thread Are programmers getting too lazy for perl?

I'm not in a position to contribute much codewise, but I'd be happy if there were a manpage with all the FAQ in one place. Sure, it'd be a hefty long manpage, but seekers wouldn't have to check for their question in lots of different manpages....Wow I hope that this isn't one of those posts where later on I really, really wish I double checked the FM before posting! :~)

-p


Don't worry about people stealing your ideas. If your ideas are any good, you'll have to ram them down people's throats.

-Howard Aiken


Comment on Re: Join Up or Hush Up
Perl 6 FAQ
by chromatic (Archbishop) on Oct 17, 2007 at 04:30 UTC

    There's a Perl 6 FAQ at Programmer's Heaven, but it hasn't had an update in a while. Perhaps a little publicity would help?

      From that FAQ:
      my $int1 = 0; my $int2 = 42; my $string = "turbo"; say ?$int1; # no output say ?$int2; # a 1 say +$string; # no output - no number parsed from string
      Is that correct? I thougt false changed from '' to 0 so the first marked 'no output' should print '0'.
      What about the last one? I would have expected that one too to print 0.
        That may just have been what Pugs did at the time I wrote it. :-) Looking at the Synopsis now, I'm not convinced it's right. I'm not sure what the Synopsis used to say, mind... For the first one, I'm pretty sure that should be a 0. That's provided that bools stringify to 0 and 1. For the third one, undef (thus nothing printed) makes sense to me, in that parsing a string with no numeric value in it is different to parsing one that contains "0". But I'm now struggling to find anything to say that this is really the case. If anyone here knows The Real Answer, I'll happily update the FAQ from that. Otherwise I'll defer to the language list and get an answer there. :-) Thanks for the feedback, Jonathan

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://645349]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (1)
As of 2014-10-25 04:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (141 votes), past polls