User Profile

Collapse

Profile Sidebar

Collapse
gaurav1086
gaurav1086
Last Activity: Jan 31 '10, 03:25 AM
Joined: Oct 15 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • there's as much difference as between a normal function and an inline function(or u may call it a macro). One is used in a simpler way (parameters) while the other in a more versatile way(arguments). thats all
    regards
    See more | Go to post

    Leave a comment:


  • gaurav1086
    replied to Directory access
    in Perl
    hi ther.e.. i am a newcomer to perl so all i can give is an algorithm for ur solution if u like implement it. and let me know if it helped.
    the algo goes like this____
    you have to go on opening directories recursively.,wi th the exit condition.that (until a directory with a particular name is reached.)
    and then do the backtracking.. to see.. if there.. are more files in the directory..
    all you have to imagine is that.....
    See more | Go to post

    Leave a comment:


  • gaurav1086
    replied to on STDIN
    in Perl
    hi there...the reason of pressing "enter-key" is to denote that you are marking the end of your input text stream.(data/keyword.. whatever....)
    if you dont press enter, how is perl going to interpret that the data input supplied by you.is of the extent limited by you..
    Alternately, you can press EOF ("ctrl-d") twice. it actually means 'end-of-file' but it can be used like that(mentioned above ) to signify end of...
    See more | Go to post

    Leave a comment:


  • gaurav1086
    replied to remove contents between tags
    in Perl
    hi ...if i am getting ur question.. then it can be implemented easily.. i can give u a hint... and u try to code it..urself. try the inbuilt {s////} of pattern matching and substituting simultaneously. ..
    thats all...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...