Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Test if list is range

by Anonymous Monk
on Sep 30, 2012 at 01:07 UTC ( [id://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

Replies are listed 'Best First'.
Re^3: Test if list is range
by LanX (Saint) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://996445]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-20 02:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found