Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 (Sexton) 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 perusing the Monastery: (4)
As of 2014-09-21 14:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (172 votes), past polls