Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: print and say

by karlgoethebier (Prior)
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 wandering the Monastery: (3)
As of 2017-10-20 09:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (260 votes). Check out past polls.

    Notices?