Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^4: Succinct switch statement

by markkawika (Monk)
on Oct 23, 2009 at 21:49 UTC ( [id://802985]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Succinct switch statement
in thread Succinct switch statement

No, but I see mention of "just like print". And print; prints $_, so it's a safe assumption that say does as well, only with an implicit \n.

Replies are listed 'Best First'.
Re^5: Succinct switch statement
by toolic (Bishop) on Oct 23, 2009 at 23:21 UTC
    My main point is that the AnonymousMonk should show a modicum of effort: read the tiny document (a link to which was provided), then write a 2-line script to prove whether it does or does not print $_.

    OK. So the PerlMonks link to 'say' is broken, but the URL is valid.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (7)
As of 2024-09-15 12:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (21 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.