Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: regular expression function: grep, split, substr OR NO need?

by hdb (Monsignor)
on Sep 09, 2013 at 09:00 UTC ( [id://1052986]=note: print w/replies, xml ) Need Help??


in reply to Re^2: regular expression function: grep, split, substr OR NO need?
in thread regular expression function: grep, split, substr OR NO need?

In order to read and process a file, you do not need a module. As a starting point it is probably good, if you would read the documentation of split, grep and substr and find out under which circumstances they are useful. Do you have any particular application in mind? If not, search PerlMonks to find 1000s of examples for the usage of these functions!

  • Comment on Re^3: regular expression function: grep, split, substr OR NO need?
  • Download Code

Replies are listed 'Best First'.
Re^4: regular expression function: grep, split, substr OR NO need?
by virtuemart2 (Novice) on Sep 10, 2013 at 02:58 UTC
    "search PerlMonks to find 1000s of examples for the usage of these functions! "
    thank you for advise, sorry that I am so stupid...
    how can I get the examples? howto SEARCH I mean?

      On this page, top right, there is a link called Super Search which leads to the PerlMonk's Search Function.

      Alternatively, there is a useful website called Google that let's you specify the site to search. Just enter: grep site:perlmonks.org and you get some useful links. For example this one: map grep and sort.

Re^4: regular expression function: grep, split, substr OR NO need?
by virtuemart2 (Novice) on Sep 09, 2013 at 10:05 UTC
    further question
    if talking about module, it means OO object oriented?
      Instead of asking all the basic questions, you might try reading a book or Perl documentation.
      لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

      Some modules provide an OO interface (e.g., LWP::UserAgent). Others export functions for their caller to use (e.g. List::Util). Others do neither and instead affect the behavior of Perl (e.g. strict).

      use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-24 05:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found