Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: print and say

by karlgoethebier (Monsignor)
on Sep 12, 2017 at 10:05 UTC ( #1199187=note: print w/replies, xml ) Need Help??


in reply to print and say

Perhaps you want sprintf?

#!/usr/bin/env perl # $Id: 1199173.pl,v 1.3 2017/09/12 09:55:38 karl Exp karl $ # http://perlmonks.org/?node_id=1199173 use strict; use warnings; use feature qw(say); my $my_nose = sprintf( "%s", nose(q(cuke)) ); say $my_nose; sub nose { shift; } __END__

Regards, Karl

«The Crux of the Biscuit is the Apostrophe»

perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2018-07-18 11:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (389 votes). Check out past polls.

    Notices?