Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 (Scribe) 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 contemplating the Monastery: (6)
As of 2015-07-05 03:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls