Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Request to correct the perl code for getting substrings

by ww (Bishop)
on Apr 19, 2012 at 11:16 UTC ( #965916=note: print w/ replies, xml ) Need Help??


in reply to Request to correct the perl code for getting substrings

You'll be able to use say if you specify use (version); where, for example, you replace the '(version)' with the version of Perl you're using -- perhaps 5.010, 5.012; or 5.014;) or use feature qw/say/;

If you don't know the version, try perl -v at your command prompt.

Update: Originally, forgot to include 5.10.


Comment on Re: Request to correct the perl code for getting substrings
Select or Download Code
Re^2: Request to correct the perl code for getting substrings
by Datz_cozee75 (Beadle) on Apr 22, 2012 at 17:09 UTC

    this can't be helping him out much:

    use 1.010;

    Try

    use 5.10.0;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2014-12-23 00:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (133 votes), past polls