Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: new to perl

by monsoon (Pilgrim)
on Jul 13, 2012 at 14:44 UTC ( #981635=note: print w/ replies, xml ) Need Help??


in reply to new to perl

perl -e 'while(<>){ @words = split /\s/; print "Mypath\\MyPerl_2.pl @words[-1]\n"; }' inputfile.txt


Comment on Re: new to perl
Download Code
Re^2: new to perl
by kroz (Initiate) on Jul 16, 2012 at 06:03 UTC

    Tried this, didn't work - most likely i've done something wrong. Thank you for the help

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2015-07-03 20:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (56 votes), past polls