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 (Archbishop)
on Apr 19, 2012 at 11:16 UTC ( [id://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.

Replies are listed 'Best First'.
Re^2: Request to correct the perl code for getting substrings
by Aldebaran (Curate) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://965916]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2024-04-19 10:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found