Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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! :~)

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

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://645349]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (10)
As of 2017-05-25 20:49 GMT
Find Nodes?
    Voting Booth?