Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Test if list is range

by Anonymous Monk
on Sep 30, 2012 at 01:07 UTC ( #996445=note: print w/ replies, xml ) Need Help??


in reply to Re: Test if list is range
in thread Test if list is range

There might be a way

$ perl -MO=Deparse -e " use Data::Dump; dd [ 1,2,3 ] " use Data::Dump; dd([1, 2, 3]); -e syntax OK $ perl -MO=Deparse -e " use Data::Dump; dd [ 1..3 ] " use Data::Dump; dd([1..3]); -e syntax OK


Comment on Re^2: Test if list is range
Download Code
Re^3: Test if list is range
by LanX (Canon) on Sep 30, 2012 at 11:45 UTC
    for this you need to know where in the source an array variable was set ....

    Its like trying to determine if ones grandparents where married by screening his bloodsample.

    Cheers Rolf

      for this you need to know where an array variable was defined .... Its like trying to determine if ones grandparents where married by screening his bloodsample.

      And how is that important?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2014-09-16 06:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (157 votes), past polls