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

Re: Re: Re: Easy Things

by hardburn (Abbot)
on Jan 26, 2004 at 17:19 UTC ( [id://324179]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Easy Things
in thread Easy Things

Looking like a hero++

Pretty much any Perl programmer can benifit from perl -e. The question is if you need more than that to do your job. CGI and application programmers certainly do, but sys admins might not.

----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer

: () { :|:& };:

Note: All code is untested, unless otherwise stated

Replies are listed 'Best First'.
Re: Re: Re: Re: Easy Things
by l2kashe (Deacon) on Jan 28, 2004 at 20:27 UTC

    CGI and application programmers certainly do, but sys admins might not.

    This has been bugging me. Can't quite figure out why, but I figure responding will at least get it off my mind

    I really think this all depends on what you view as a system admins role being. Also I suppoed what platform they are an admin for, but I think that is to a lesser extent. I have been a sysadmin for the last 4 years, and I have rarely used perl -e '' constructs, though I have worked on writing and maintaining perl scripts and apps on a daily basis. Any time it is as trivial as a perl -e '', I use system utilities to get the job done.

    I have run just about the full gamut of possible system utilities short of creating a Tk/X based interface. Log parsers, automagic account and quota creation/deletion, wrappers around other system apps allowing for access restriction or business rule adherence, DB interfaces, network aware deamons launcing intersystem apps, yada, yada, yada. I was going to say I haven't built GUIs, but I suppose a browser is a GUI client. I certainly needed more than -e in order to do my job well. Matter of fact the only time I have played with -e, is usually due to a comment in a port or the CB.

    use perl;
    Everyone should spend some time pounding nails with their forehead for a while before they graduate to complicated stuff like hammers. - Dominus

      Certianly many sys admins get along without perl -e. In fact, I know one sys admin that hasn't learned much Perl because awk and sed does what he needs. I'm the opposite--I haven't learned awk or sed because perl -e does what I need for that problem domain (OTOH, I'm not technically employed as a sys admin, either). It's all a matter of what you're comfertable with.

      ----
      I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
      -- Schemer

      : () { :|:& };:

      Note: All code is untested, unless otherwise stated

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-26 00:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found