Forum: Perl Apr 5th, 2007 |
| Replies: 3 Views: 2,639 I found a solution to my own problem now. =P
This works:
#!/bin/perl
use Shell;
$command = echo("parameters", "go", "here");
print $command; #performs echo |
Forum: Perl Apr 5th, 2007 |
| Replies: 3 Views: 2,639 Is it possible to have a perl script and a bash script in one file? Like:
#!/bin/perl
print "This is perl";
#exit perl
#!/bin/bash
echo "This is bash"
exit 0 |
Forum: Perl Apr 5th, 2007 |
| Replies: 3 Views: 3,946 I added an escape \ to $s1 like you did to $s2 and it worked great, thanks! |
Forum: Perl Apr 4th, 2007 |
| Replies: 3 Views: 3,946 I have a very specific problem.
Does s/// work with strings that are contained in single quotes? I've been debugging and I'm trying to replace a string that contains a $ in it. If I use double... |
Forum: Perl Feb 22nd, 2007 |
| Replies: 1 Views: 7,381 I am working with form processing and text manipulation, and I found two useful functions; tr/// and s/// They do pretty much the same thing, but I was wondering if anyone could explain to me what... |
Forum: Perl Nov 19th, 2006 |
| Replies: 8 Views: 3,094 depends what operating system you have. on linux type
chmod +x myscript.pl
in windows...i dont think it differentiates files that are executable and text files except by the extension, which... |