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
User Profile
Collapse
-
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.....Leave a comment:
-
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...Leave a comment:
-
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...Leave a comment:
No activity results to display
Show More
Leave a comment: