Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: help regarding command line arguments

by rnewsham (Curate)
on Nov 18, 2014 at 12:30 UTC ( [id://1107562]=note: print w/replies, xml ) Need Help??


in reply to help regarding command line arguments

Probably the simplest way would be to just replace the string \n with an actual \n.

use strict; use warnings; for ( @ARGV ) { s/\\n/\n/g; } my $string1=$ARGV[0]; my $string2=$ARGV[1]; print $string1 ; print $string2 ;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2024-03-28 20:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found