Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Perl script to split a file and process then concatenate based on size and a string (@ARGV)

by Anonymous Monk
on Feb 02, 2013 at 07:59 UTC ( #1016676=note: print w/replies, xml ) Need Help??


in reply to Perl script to split a file and process then concatenate based on size and a string

perlintro -> perlvar#@ARGV, read, Modern Perl book, a loose description of how experienced and effective Perl 5 programmers work....You can learn this too.

The Perl Monks Guide to the Monastery

  • Comment on Re: Perl script to split a file and process then concatenate based on size and a string (@ARGV)

Replies are listed 'Best First'.
Re^2: Perl script to split a file and process then concatenate based on size and a string (getopt)
by Anonymous Monk on Feb 02, 2013 at 08:02 UTC
Re^2: Perl script to split a file and process then concatenate based on size and a string (@ARGV)
by sharp859 (Initiate) on Feb 03, 2013 at 09:54 UTC
    I am reading it, but it would take some time any idea now.

      I am reading it, but it would take some time any idea now.

      My idea is for you to read the links I gave you, start with the first links , the book covers the same material

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1016676]
help
Chatterbox?
[talexb]: Wasn't Brexit the name of the first Santana album?
[tye]: That's funny, saying getlogin() is less secure. For some uses, it is far superior to getpwuid(), precisely for reasons of security.
[LanX]: search strategy => Perl Functions by Category
[Corion]: ... I found discussion of the who utility and that it uses the POSIX 2008 getlogin function (but that function was available much earlier and thus even exists in Perl, as a search for getlogin on CPAN brought up Perl 5.26 as first hit
[tye]: oh, LanX, but I was thinking that it was not a function that Perl provided.
[Corion]: Yeah, I also went a more roundabout way, just to find that the solution had been with Perl all along! ;)
[tye]: perhaps the "less secure" comment was motivated by old versions of getlogin() and trolled through the 'last' log trying to match your TTY. On modern Unix, I believe getlogin() just returns a fundamental bit of identity from your process.
[tye]: (Because every thing you do has that tag available for auditd.)
[tye]: Though it is certainly true that you should not use getlogin() for auth().
[LanX]: tye: just a tip for the next time, I found interesting things there...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2017-06-23 18:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (554 votes). Check out past polls.