Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Iterate string like, for(1..5) i.e. $stirng="1..5"; for($string)

by jkeenan1 (Deacon)
on Oct 10, 2005 at 01:30 UTC ( [id://498671]=note: print w/replies, xml ) Need Help??


in reply to Iterate string like, for(1..5) i.e. $stirng="1..5"; for($string)

Your program compiles, runs and produces this output:

[perl 508]$ perl 498665.pl StID,SchooldID,TeacherID,KnowPre,KnowPost,Prefact 2,234,1001,,, 3,234,1001,,, 4,234,1001,,, 5,234,1001,,, 10,234,1001,,, 11,234,1001,,, 12,234,1001,,, 13,234,1001,,, 14,234,1001,,, 15,234,1001,,, 2..5,10..15,234,1001,,,

And your question is .... ?

  • Comment on Re: Iterate string like, for(1..5) i.e. $stirng="1..5"; for($string)
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-04-24 06:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found